/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | es6ModuleInternalImport.ts | 36 let x2 = a3 + a4; variable 42 let x2 = a3 + a4; variable
|
D | contextualTypeWithUnionTypeCallSignatures.ts | 54 let x2: IWithCallSignatures | IWithCallSignatures2 = a => a.toString(); // Like iWithCallSignatures variable 61 let x2: IWithCallSignatures | IWithCallSignatures2 = a => a; // Like iWithCallSignatures2 variable
|
D | typeGuardOfFormTypeOfString.ts | 117 let x2: number | boolean = numOrBool; // number | boolean variable 180 let x2: {} = numOrBool; // { variable
|
D | sourceMapValidationForIn.ts | 33 for (let x2 in String) variable
|
D | noImplicitAnyFunctionExpressionAssignment.ts | 32 let x2: (a: any) => void = function f<T>(x: T) { variable
|
D | namespaces1.ts | 33 let x2: X.Y; variable
|
D | contextualTypeWithUnionTypeIndexSignatures.ts | 82 let x2: IWithStringIndexSignature1 | IWithStringIndexSignature2 = { z: a => a.toString() }; // a sh… variable 91 let x2: IWithStringIndexSignature1 | IWithStringIndexSignature2 = { z: a => a }; // a should be num… variable
|
D | instanceofOperatorWithLHSIsObject.ts | 26 let x2: Function; variable 47 let r2 = b instanceof x2; variable
|
D | objectLiteralShorthandPropertiesES6.ts | 35 let x2 = { variable
|
D | objectLiteralShorthandProperties.ts | 35 let x2 = { variable
|
D | freshLiteralInference.ts | 49 let x2 = obj2.value; // regular "1" variable
|
D | genericObjectCreationWithoutTypeArgs.ts | 30 let x2 = new SS<number>; // OK variable
|
D | anyAndUnknownHaveFalsyComponents.ts | 56 declare let x2: unknown; variable
|
D | indexSignaturesInferentialTyping.ts | 41 let x2 = bar({ 0: 0, 1: 1 }); variable
|
D | contextualTypingOfConditionalExpression.ts | 45 let x2: (a: A) => void = true ? (a) => a.foo : (b) => b.foo; variable
|
D | objectLiteralWidened.ts | 69 let x2 = { variable
|
D | literalTypesAndTypeAssertions.ts | 46 let x2 = 1; variable
|
D | contextualSignatureInstatiationCovariance.ts | 22 interface TallThing { x2 } property
|
D | discriminatedUnionInference.ts | 48 let x2 = foo({ kind: 'b', data: [1, 2] }); // number variable
|
D | es6ModuleEnumDeclaration.ts | 52 let x2 = e3.a; variable 68 let x2 = e5.a; variable
|
D | es6ModuleConstEnumDeclaration.ts | 52 let x2 = e3.a; variable 68 let x2 = e5.a; variable
|
D | es6ModuleConstEnumDeclaration2.ts | 52 let x2 = e3.a; variable 68 let x2 = e5.a; variable
|
D | noImplicitAnyDestructuringVarDeclaration2.ts | 112 let {x2 = undefined, y2 = undefined, z2 = undefined} = { x2: 1, y2: 2, z2: 3 }; // no error variable
|
D | keyofAndForIn.ts | 47 let x2 = obj[k2]; variable
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/systemObjectShorthandRename/ |
D | index.ts | 23 const x2 = {x constant
|