Skip to content

Commit 5e99a84

Browse files
Merge pull request #150 from ayZagen/fix/custom-resolver-typings
fix: missing type definition for custom resolver
2 parents 9bf784d + 1d6812e commit 5e99a84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ declare namespace $RefParser {
206206
external?: boolean
207207
file?: Partial<ResolverOptions> | boolean
208208
http?: HTTPResolverOptions | boolean
209+
} & {
210+
[key: string]: Partial<ResolverOptions>
209211
}
210212

211213
/**

0 commit comments

Comments
 (0)