Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: change type of onDereference to non-required
  • Loading branch information
jonluca committed Jan 20, 2023
commit faa03b9b1aaae660834231a753d165b0789249bf
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