Skip to content

Commit 75d8e93

Browse files
committed
fix: createProxyServer options is optional
1 parent 1e906b9 commit 75d8e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class ProxyServer extends EventEmitter {
138138
*
139139
* @api public
140140
*/
141-
export function createProxyServer(options: ProxyServerOptions) {
141+
export function createProxyServer(options: ProxyServerOptions = {}) {
142142
return new ProxyServer(options);
143143
}
144144

0 commit comments

Comments
 (0)