From 05d1c579157c799fd9a5456d5682bbce78034318 Mon Sep 17 00:00:00 2001 From: Markku Roponen Date: Mon, 1 Nov 2021 11:45:57 +0200 Subject: [PATCH] #189, fix Options type definition and allow custom resolvers. --- lib/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index fc9c618b..a7ea3de0 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -240,6 +240,8 @@ declare namespace SwaggerParser { external?: boolean; file?: Partial | boolean; http?: HTTPResolverOptions | boolean; + } & { + [key: string]: Partial | HTTPResolverOptions | boolean | undefined; }; /**