Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
11
node_modules/json-schema-to-ts/lib/parse-schema/mixed.d.ts
generated
vendored
Normal file
11
node_modules/json-schema-to-ts/lib/parse-schema/mixed.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { Union } from "../meta-types";
|
||||
import { Get, Head, Tail, DeepMergeUnsafe } from "../utils";
|
||||
import { ParseSchema } from ".";
|
||||
export declare type ParseMixedSchema<S> = Union<RecurseOnMixedSchema<Get<S, "type">, S>>;
|
||||
declare type RecurseOnMixedSchema<T, S, R = never> = {
|
||||
stop: R;
|
||||
continue: T extends any[] ? RecurseOnMixedSchema<Tail<T>, S, R | ParseSchema<DeepMergeUnsafe<S, {
|
||||
type: Head<T>;
|
||||
}>>> : never;
|
||||
}[T extends [any, ...any[]] ? "continue" : "stop"];
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue