We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21c8c1 commit 2bdc455Copy full SHA for 2bdc455
src/jsonschema.ts
@@ -9,8 +9,8 @@ type With$fn<T> = {
9
: T[K] extends object
10
? With$fn<T[K]> // handle objects recursively
11
: T[K]) // retain original type
12
- | (string & `${Whitespace | ""}$ex${Whitespace}${string}`)
13
- | (string & `${Whitespace | ""}$fn${Whitespace}${string}`); // allow string starting with $ex or $fn with optional whitespace
+ | `${Whitespace | ""}$ex${Whitespace}${string}`
+ | `${Whitespace | ""}$fn${Whitespace}${string}`; // allow string starting with $ex or $fn with optional whitespace
14
};
15
16
export type JsonSchemaRoot = With$fn<InputConfig>;
0 commit comments