Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added parameters field to definition interface
  • Loading branch information
Tiberiu02 committed Oct 10, 2022
commit 5530873597e3aeeadad5be4273f953957a957be6
1 change: 1 addition & 0 deletions typescript-json-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export interface Definition extends Omit<JSONSchema7, RedefinedFields> {
propertyOrder?: string[];
defaultProperties?: string[];
typeof?: "function";
parameters?: Definition[];

// Fields that must be redefined because they make use of this definition itself
items?: DefinitionOrBoolean | DefinitionOrBoolean[];
Expand Down