We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b4888 commit 12cb26aCopy full SHA for 12cb26a
lib/index.d.ts
@@ -246,7 +246,7 @@ declare namespace $RefParser {
246
* @argument {string} path The path being dereferenced (ie. the `$ref` string).
247
* @argument {JSONSchemaObject} object The JSON-Schema that the `$ref` resolved to.
248
*/
249
- onDereference(path: string, value: JSONSchemaObject): void;
+ onDereference?(path: string, value: JSONSchemaObject): void;
250
};
251
}
252
0 commit comments