/third_party/typescript/tests/baselines/reference/ |
D | typeofInternalModules.js | 3 export module instantiated { 11 import importInst = Outer.instantiated; 21 x5 = Outer.instantiated; 30 var instantiated; 31 (function (instantiated) { argument 37 instantiated.C = C; 38 })(instantiated = Outer.instantiated || (Outer.instantiated = {})); 40 var importInst = Outer.instantiated; 47 x5 = Outer.instantiated;
|
D | typeParameterAssignability2.errors.txt | 2 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 4 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 6 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 8 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 10 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 12 'U' could be instantiated with an arbitrary type which could be unrelated to 'V'. 14 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 16 …'V' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 18 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… 20 …'V' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… [all …]
|
D | typeParametersShouldNotBeEqual2.errors.txt | 2 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 4 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… 6 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 8 'V' could be instantiated with an arbitrary type which could be unrelated to 'T'. 10 'V' could be instantiated with an arbitrary type which could be unrelated to 'Date'. 12 'U' could be instantiated with an arbitrary type which could be unrelated to 'V'. 14 'V' could be instantiated with an arbitrary type which could be unrelated to 'U'. 16 'V' could be instantiated with an arbitrary type which could be unrelated to 'Date'. 18 'T' could be instantiated with an arbitrary type which could be unrelated to 'Object'. 29 !!! error TS2322: 'U' is assignable to the constraint of type 'T', but 'T' could be instantiated … [all …]
|
D | typeParameterDiamond3.errors.txt | 2 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T | U'. 4 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T'. 9 'U' could be instantiated with an arbitrary type which could be unrelated to 'Top'. 11 'U' could be instantiated with an arbitrary type which could be unrelated to 'Bottom'. 13 … 'U' could be instantiated with an arbitrary type which could be unrelated to 'Top | T | U'. 15 … 'U' could be instantiated with an arbitrary type which could be unrelated to 'Top'. 17 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Bottom'. 19 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Top | T | U'. 21 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T'. 35 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated to … [all …]
|
D | typeofInternalModules.errors.txt | 3 … TS2741: Property 'C' is missing in type 'typeof Outer' but required in type 'typeof instantiated'. 5 …InternalModules.ts(23,1): error TS2741: Property 'instantiated' is missing in type 'typeof instant… 10 export module instantiated { 18 import importInst = Outer.instantiated; 33 … TS2741: Property 'C' is missing in type 'typeof Outer' but required in type 'typeof instantiated'. 35 x5 = Outer.instantiated; 42 !!! error TS2741: Property 'instantiated' is missing in type 'typeof instantiated' but required in … 43 !!! related TS2728 tests/cases/compiler/typeofInternalModules.ts:2:19: 'instantiated' is declared h…
|
D | typeParameterAssignability3.errors.txt | 2 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 4 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo'. 6 …'T' is assignable to the constraint of type 'U', but 'U' could be instantiated with a different su… 8 'U' could be instantiated with an arbitrary type which could be unrelated to 'Foo'. 10 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 12 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo'. 14 …'T' is assignable to the constraint of type 'U', but 'U' could be instantiated with a different su… 16 'U' could be instantiated with an arbitrary type which could be unrelated to 'Foo'. 36 !!! error TS2322: 'U' is assignable to the constraint of type 'T', but 'T' could be instantiated … 38 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated t… [all …]
|
D | typeofInternalModules.types | 5 export module instantiated { 6 >instantiated : typeof instantiated 16 import importInst = Outer.instantiated; 19 >instantiated : typeof importInst 60 x5 = Outer.instantiated; 61 >x5 = Outer.instantiated : typeof importInst 63 >Outer.instantiated : typeof importInst 65 >instantiated : typeof importInst
|
D | typeParameterDiamond2.errors.txt | 2 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T | U'. 4 'Top' could be instantiated with an arbitrary type which could be unrelated to 'U'. 6 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Bottom'. 8 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T | U'. 10 'Top' could be instantiated with an arbitrary type which could be unrelated to 'U'. 24 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated to … 26 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated… 31 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated to … 33 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated… 35 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrel…
|
D | typeParameterDiamond4.errors.txt | 2 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Top | T | U'. 4 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T'. 6 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Bottom'. 8 'Top' could be instantiated with an arbitrary type which could be unrelated to 'Top | T | U'. 10 'Top' could be instantiated with an arbitrary type which could be unrelated to 'T'. 24 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated to … 26 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated… 31 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated to … 33 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrelated… 35 !!! error TS2322: 'Top' could be instantiated with an arbitrary type which could be unrel…
|
D | errorMessagesIntersectionTypes03.errors.txt | 2 'T' could be instantiated with an arbitrary type which could be unrelated to 'A & B'. 4 …'A & B' is assignable to the constraint of type 'U', but 'U' could be instantiated with a differen… 6 …'A & B' is assignable to the constraint of type 'V', but 'V' could be instantiated with a differen… 8 'U' could be instantiated with an arbitrary type which could be unrelated to 'T & B'. 10 'V' could be instantiated with an arbitrary type which could be unrelated to 'T & B'. 33 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to 'A… 37 …'A & B' is assignable to the constraint of type 'U', but 'U' could be instantiated with a differen… 41 …'A & B' is assignable to the constraint of type 'V', but 'V' could be instantiated with a differen… 47 !!! error TS2322: 'U' could be instantiated with an arbitrary type which could be unrelated to 'T… 51 !!! error TS2322: 'V' could be instantiated with an arbitrary type which could be unrelated to 'T…
|
D | typeofInternalModules.symbols | 5 export module instantiated { 6 >instantiated : Symbol(instantiated, Decl(typeofInternalModules.ts, 0, 14)) 19 import importInst = Outer.instantiated; 22 >instantiated : Symbol(importInst, Decl(typeofInternalModules.ts, 0, 14)) 59 x5 = Outer.instantiated; 61 >Outer.instantiated : Symbol(importInst, Decl(typeofInternalModules.ts, 0, 14)) 63 >instantiated : Symbol(importInst, Decl(typeofInternalModules.ts, 0, 14))
|
D | genericCallWithObjectTypeArgsAndInitializers.errors.txt | 2 …'number' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differe… 4 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 6 'V' could be instantiated with an arbitrary type which could be unrelated to 'U'. 8 'V' could be instantiated with an arbitrary type which could be unrelated to 'T'. 19 …number' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen… 23 !!! error TS2322: 'U' could be instantiated with an arbitrary type which could be unrelated to 'T… 28 !!! error TS2322: 'V' could be instantiated with an arbitrary type which could be unrelated to 'U… 30 !!! error TS2322: 'V' could be instantiated with an arbitrary type which could be unrelated t…
|
D | subtypesOfTypeParameterWithRecursiveConstraints.errors.txt | 4 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 6 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo<T>'. 10 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 12 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo<V>'. 16 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 18 'U' could be instantiated with an arbitrary type which could be unrelated to 'Foo<U>'. 22 'U' could be instantiated with an arbitrary type which could be unrelated to 'V'. 24 'U' could be instantiated with an arbitrary type which could be unrelated to 'Foo<V>'. 28 'V' could be instantiated with an arbitrary type which could be unrelated to 'T'. 30 'V' could be instantiated with an arbitrary type which could be unrelated to 'Foo<U>'. [all …]
|
D | genericTypeAssertions5.errors.txt | 2 …'A' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 4 …'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 6 …'C' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 8 …'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 10 …'C' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 35 !!! error TS2322: 'A' is assignable to the constraint of type 'T', but 'T' could be instantiated … 39 !!! error TS2322: 'B' is assignable to the constraint of type 'T', but 'T' could be instantiated … 43 !!! error TS2322: 'C' is assignable to the constraint of type 'T', but 'T' could be instantiated … 48 !!! error TS2352: 'B' is assignable to the constraint of type 'T', but 'T' could be instantiated … 52 !!! error TS2352: 'C' is assignable to the constraint of type 'T', but 'T' could be instantiated …
|
D | genericTypeAssertions4.errors.txt | 2 …'A' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 4 …'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 6 …'C' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 8 …'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 10 …'C' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 35 !!! error TS2322: 'A' is assignable to the constraint of type 'T', but 'T' could be instantiated … 39 !!! error TS2322: 'B' is assignable to the constraint of type 'T', but 'T' could be instantiated … 43 !!! error TS2322: 'C' is assignable to the constraint of type 'T', but 'T' could be instantiated … 48 !!! error TS2352: 'B' is assignable to the constraint of type 'T', but 'T' could be instantiated … 52 !!! error TS2352: 'C' is assignable to the constraint of type 'T', but 'T' could be instantiated …
|
D | objectTypeWithRecursiveWrappedPropertyCheckedNominally.errors.txt | 8 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 10 …'MyList<number>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a… 12 …'T' is assignable to the constraint of type 'U', but 'U' could be instantiated with a different su… 14 …'List<number>' is assignable to the constraint of type 'U', but 'U' could be instantiated with a d… 16 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 18 'T' could be instantiated with an arbitrary type which could be unrelated to 'MyList<number>'. 62 !!! error TS2322: 'U' is assignable to the constraint of type 'T', but 'T' could be instantiated … 64 …umber>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen… 68 !!! error TS2322: 'T' is assignable to the constraint of type 'U', but 'U' could be instantiated … 70 …umber>' is assignable to the constraint of type 'U', but 'U' could be instantiated with a differen… [all …]
|
D | errorElaborationDivesIntoApparentlyPresentPropsOnly.errors.txt | 2 …'T' could be instantiated with an arbitrary type which could be unrelated to '{ a: string; b: numb… 4 'T' could be instantiated with an arbitrary type which could be unrelated to '{ a: number; }'. 6 …'{ a: string; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a… 14 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to '{… 21 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to '{… 28 …ing; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen…
|
D | assignmentCompatWithGenericCallSignaturesWithOptionalParameters.errors.txt | 5 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 8 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 13 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 16 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 20 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 24 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 28 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 32 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 35 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. 39 'T' could be instantiated with an arbitrary type which could be unrelated to 'T'. [all …]
|
D | constructorImplementationWithDefaultValues2.errors.txt | 3 'T' could be instantiated with an arbitrary type which could be unrelated to 'number'. 5 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 7 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… 25 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to 'n… 28 !!! error TS2322: 'U' could be instantiated with an arbitrary type which could be unrelated to 'T… 38 … 'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen…
|
D | genericTypeAssertions6.errors.txt | 2 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 4 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 6 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 8 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… 22 !!! error TS2352: 'T' could be instantiated with an arbitrary type which could be unrelated to 'U… 26 !!! error TS2352: 'U' could be instantiated with an arbitrary type which could be unrelated to 'T… 39 !!! error TS2352: 'U' is assignable to the constraint of type 'T', but 'T' could be instantiated … 41 … 'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen…
|
D | mappedTypeRelationships.errors.txt | 3 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 6 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 22 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 25 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 34 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 37 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 40 … 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 45 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 49 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 52 'T' could be instantiated with an arbitrary type which could be unrelated to 'Partial<T>'. [all …]
|
D | subtypesOfTypeParameterWithConstraints.errors.txt | 4 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 8 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 10 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 14 'T' could be instantiated with an arbitrary type which could be unrelated to 'V'. 18 'U' could be instantiated with an arbitrary type which could be unrelated to 'V'. 22 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 24 …'V' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 26 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… 30 …'V' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 32 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different… [all …]
|
D | typeParametersShouldNotBeEqual3.errors.txt | 2 …'U' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different su… 4 …'Object' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differe… 7 …'Object' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differe… 18 !!! error TS2322: 'U' is assignable to the constraint of type 'T', but 'T' could be instantiated … 20 …Object' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen… 25 …Object' is assignable to the constraint of type 'T', but 'T' could be instantiated with a differen…
|
D | typeParameterAssignability.errors.txt | 2 'T' could be instantiated with an arbitrary type which could be unrelated to 'U'. 4 'U' could be instantiated with an arbitrary type which could be unrelated to 'T'. 14 !!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to 'U… 18 !!! error TS2322: 'U' could be instantiated with an arbitrary type which could be unrelated to 'T…
|
/third_party/typescript/tests/cases/compiler/ |
D | typeofInternalModules.ts | 2 export module instantiated { 10 import importInst = Outer.instantiated; 20 x5 = Outer.instantiated;
|