Skip to content

Commit

Permalink
fix: change type of onDereference to non-required (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca authored Jan 23, 2023
1 parent e7b4888 commit 12cb26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ declare namespace $RefParser {
* @argument {string} path The path being dereferenced (ie. the `$ref` string).
* @argument {JSONSchemaObject} object The JSON-Schema that the `$ref` resolved to.
*/
onDereference(path: string, value: JSONSchemaObject): void;
onDereference?(path: string, value: JSONSchemaObject): void;
};
}

Expand Down

0 comments on commit 12cb26a

Please sign in to comment.