Skip to content

Commit 0c9a034

Browse files
committed
fix(types): add types fix for options
1 parent f01a13c commit 0c9a034

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ declare namespace SwaggerParser {
435435
external?: boolean;
436436
file?: Partial<ResolverOptions> | boolean;
437437
http?: HTTPResolverOptions | boolean;
438+
} & {
439+
[key: string]:
440+
| Partial<ResolverOptions>
441+
| HTTPResolverOptions
442+
| boolean
443+
| undefined;
438444
};
439445

440446
/**

0 commit comments

Comments
 (0)