Skip to content

Commit 202e2c2

Browse files
committed
fix(types): rename Type to ProxyType for consistency
1 parent 165fe06 commit 202e2c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as restana from 'restana'
22

33
declare namespace fastgateway {
4-
type Type = 'http' | 'lambda' | (string & {})
4+
type ProxyType = 'http' | 'lambda' | (string & {})
55

66
type Method =
77
| 'GET'
@@ -20,13 +20,13 @@ declare namespace fastgateway {
2020
}
2121

2222
interface ProxyFactoryOpts {
23-
proxyType: Type
23+
proxyType: ProxyType
2424
opts: {}
2525
route: Route
2626
}
2727

2828
interface Route {
29-
proxyType?: Type
29+
proxyType?: ProxyType
3030
proxyConfig?: {}
3131
proxyHandler?: Function
3232
pathRegex?: string

0 commit comments

Comments
 (0)