Skip to content

Commit 2eaa26e

Browse files
committed
#189, fix Options type definition and allow custom resolvers.
1 parent 538d4f4 commit 2eaa26e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ declare namespace SwaggerParser {
240240
external?: boolean;
241241
file?: Partial<ResolverOptions> | boolean;
242242
http?: HTTPResolverOptions | boolean;
243+
} & {
244+
[key: string]: Partial<ResolverOptions> | HTTPResolverOptions | boolean | undefined;
243245
};
244246

245247
/**

0 commit comments

Comments
 (0)