Skip to content

Commit 19c7858

Browse files
treffynnonJamesMessinger
authored andcommitted
Allows custom parser declarations (#119)
Adjusts the typings to allow custom parsers to be specified.
1 parent 31d4a2c commit 19c7858

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ declare namespace $RefParser {
190190
json?: ParserOptions | boolean
191191
yaml?: ParserOptions | boolean
192192
text?: (ParserOptions & { encoding?: string }) | boolean
193+
[key: string]: ParserOptions | boolean | undefined
193194
}
194195

195196
/**

0 commit comments

Comments
 (0)