You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schema.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,9 +86,15 @@ type UnknownSchema = {
86
86
type?: undefined,
87
87
};
88
88
89
+
typeUnionSchema={
90
+
type: (keyofTypeSpecifics)[],
91
+
}&{
92
+
[TinkeyofTypeSpecifics]: TypeSpecifics[T];
93
+
}[keyofTypeSpecifics];
94
+
89
95
/**
90
96
* The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12.
0 commit comments