Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
13
node_modules/json-schema-to-ts/lib/utils/reverse.d.ts
generated
vendored
Normal file
13
node_modules/json-schema-to-ts/lib/utils/reverse.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { Head } from "./head";
|
||||
import { Tail } from "./tail";
|
||||
import { Prepend } from "./prepend";
|
||||
/**
|
||||
* Reverses a tuple `T`
|
||||
*
|
||||
* @param T Tuple
|
||||
* @return Tuple
|
||||
*/
|
||||
export declare type Reverse<T, R extends any[] = []> = {
|
||||
stop: R;
|
||||
continue: T extends any[] ? Reverse<Tail<T>, Prepend<Head<T>, R>> : never;
|
||||
}[T extends [any, ...any[]] ? "continue" : "stop"];
|
||||
Loading…
Add table
Add a link
Reference in a new issue