/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | tupleAssignability24.ts | 17 var a: [number, number, number] | number[]; variable 18 var b: [number, number, number, number] | string[]; variable
|
D | tupleAssignability21.ts | 17 var a: [number, number] | [number, number, number] = [1]; variable
|
D | tupleAssignability.ts | 19 var tuple3: [number, number, number] = [1, 2, 3]; variable 21 var tuple5: [[a: number, b?: string], [boolean | string, number[]]] = [[1], ["foo", [1, 2, 3]]]; variable 53 var tuple16: [typeof tuple10, typeof tuple1, number]; variable 73 var tuple23: [number, number, number] | [number, number, number, number]; variable 77 var tuple24: number[][] | string[][] | [[number, number], [string, string]]; variable
|
D | tupleAssignability3.ts | 17 var a: [number, number, number] = [1, 2]; variable
|
D | tupleAssignability15.ts | 17 var a: [number, number, number]; variable
|
D | arrayDestructuring27.ts | 17 var [...[b = 6, c = "foo", d]]: [number, number | string] = [1, 2]; variable
|
D | tupleAssignability20.ts | 17 var a: number[] | [string, number] = [true, 5]; variable
|
D | tupleAssignability22.ts | 17 var a: [number, number] | string = 5; variable
|
D | arrayDestructuring5.ts | 17 var [a = 1, b = "foo"]: [number, number] = [1, 1]; variable
|
D | arrayDestructuring6.ts | 17 var [a, b]: number[] | [string, number] = [1, 2]; variable
|
D | objectDestructuring23.ts | 17 var a: { b: { c: [number, number] } }; variable
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-tuple-type.ts | 20 var d: [[[number, number], number, number], number, number] variable
|
D | test-class-definiton20.ts | 18 a = () : this is number => { property in C 22 b = (b : number) : this is number => { property in C 26 c = (...c : number[]) : this is number => { property in C
|
D | test-ts-conditional-type.ts | 20 var b: boolean & number extends A ? number : string; variable 21 var c: A | number extends string ? number : string; variable 22 var d: boolean | A & string extends string ? number : string; variable 23 var e: boolean & number | string extends string ? number : string; variable
|
D | test-ts-type-predicate.ts | 28 (asserts: number | string): asserts is number; method 36 (is: number | string): is is number; method 44 (a: number | string): a is number; method 52 (a: number | string): asserts a is number; method 60 (asserts: number | string): asserts asserts is number; method 76 (string: number | string | is): string is number; method
|
D | test-type-alias2.ts | 17 type bar number; alias
|
D | test-ts-conditional-type3.ts | 17 type Foo = string extends number ? number string : string; alias
|
D | test-ts-conditional-type2.ts | 17 type Foo = string extends number ? number extends : string; alias
|
D | test-ts-conditional-type6.ts | 17 type Foo = string extends number ? infer number : string; alias
|
D | test-ts-conditional-type4.ts | 17 type Foo = string extends number ? number : string extends; alias
|
D | test-ts-conditional-type7.ts | 17 type Foo = string extends number ? number : infer string; alias
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsJson/ |
D | obj.json | 25 AssertType("x", "number"); null 29 AssertType("y", "number"); null 40 AssertType("x", "number"); null 43 AssertType("x", "number"); null 45 AssertType("y", "number"); null 48 AssertType("x", "number"); null 51 AssertType("x", "number"); null
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | parseGenericArrowRatherThanLeftShift.ts | 26 const b = foo<<T>(x: T) => number>(() => 1); constant
|
D | controlFlowElementAccess.ts | 42 const y: [number, number] = [0, 0]; constant
|
/arkcompiler/ets_frontend/arkguard/test/grammar/types_definition/ |
D | tuple_define.ts | 18 let x: [string, number, boolean]; variable
|