Skip to content

Commit

Permalink
fix: createProxyServer options is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 23, 2023
1 parent 1e906b9 commit 75d8e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class ProxyServer extends EventEmitter {
*
* @api public
*/
export function createProxyServer(options: ProxyServerOptions) {
export function createProxyServer(options: ProxyServerOptions = {}) {
return new ProxyServer(options);
}

Expand Down

0 comments on commit 75d8e93

Please sign in to comment.