Home
last modified time | relevance | path

Searched refs:DropFirst (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/tests/cases/conformance/types/tuple/
DvariadicTuples1.ts215 type DropFirst<T extends readonly unknown[]> = T extends readonly [unknown?, ...infer U] ? U : [...… alias
235 type T10 = DropFirst<[number, symbol, string]>;
236 type T11 = DropFirst<[symbol, string]>;
237 type T12 = DropFirst<[string]>;
238 type T13 = DropFirst<[number, symbol, ...string[]]>;
239 type T14 = DropFirst<[symbol, ...string[]]>;
240 type T15 = DropFirst<[string?]>;
241 type T16 = DropFirst<string[]>;
242 type T17 = DropFirst<[]>;
243 type T18 = DropFirst<any>;
[all …]
/third_party/typescript/tests/baselines/reference/
DvariadicTuples1.js213 type DropFirst<T extends readonly unknown[]> = T extends readonly [unknown?, ...infer U] ? U : [...…
233 type T10 = DropFirst<[number, symbol, string]>;
234 type T11 = DropFirst<[symbol, string]>;
235 type T12 = DropFirst<[string]>;
236 type T13 = DropFirst<[number, symbol, ...string[]]>;
237 type T14 = DropFirst<[symbol, ...string[]]>;
238 type T15 = DropFirst<[string?]>;
239 type T16 = DropFirst<string[]>;
240 type T17 = DropFirst<[]>;
241 type T18 = DropFirst<any>;
[all …]
DvariadicTuples1.symbols705 type DropFirst<T extends readonly unknown[]> = T extends readonly [unknown?, ...infer U] ? U : [...…
706 >DropFirst : Symbol(DropFirst, Decl(variadicTuples1.ts, 209, 21))
777 type T10 = DropFirst<[number, symbol, string]>;
779 >DropFirst : Symbol(DropFirst, Decl(variadicTuples1.ts, 209, 21))
781 type T11 = DropFirst<[symbol, string]>;
783 >DropFirst : Symbol(DropFirst, Decl(variadicTuples1.ts, 209, 21))
785 type T12 = DropFirst<[string]>;
787 >DropFirst : Symbol(DropFirst, Decl(variadicTuples1.ts, 209, 21))
789 type T13 = DropFirst<[number, symbol, ...string[]]>;
791 >DropFirst : Symbol(DropFirst, Decl(variadicTuples1.ts, 209, 21))
[all …]
DvariadicTuples1.errors.txt322 …type DropFirst<T extends readonly unknown[]> = T extends readonly [unknown?, ...infer U] ? U : [..…
342 type T10 = DropFirst<[number, symbol, string]>;
343 type T11 = DropFirst<[symbol, string]>;
344 type T12 = DropFirst<[string]>;
345 type T13 = DropFirst<[number, symbol, ...string[]]>;
346 type T14 = DropFirst<[symbol, ...string[]]>;
347 type T15 = DropFirst<[string?]>;
348 type T16 = DropFirst<string[]>;
349 type T17 = DropFirst<[]>;
350 type T18 = DropFirst<any>;
[all …]
DvariadicTuples1.types781 type DropFirst<T extends readonly unknown[]> = T extends readonly [unknown?, ...infer U] ? U : [...…
782 >DropFirst : DropFirst<T>
824 type T10 = DropFirst<[number, symbol, string]>;
827 type T11 = DropFirst<[symbol, string]>;
830 type T12 = DropFirst<[string]>;
833 type T13 = DropFirst<[number, symbol, ...string[]]>;
836 type T14 = DropFirst<[symbol, ...string[]]>;
839 type T15 = DropFirst<[string?]>;
842 type T16 = DropFirst<string[]>;
845 type T17 = DropFirst<[]>;
[all …]