| /third_party/typescript/tests/baselines/reference/ |
| D | importEquals1.types | 6 import type * as types from './a'; 7 >types : typeof types 9 export = types; // Error 10 >types : typeof types 13 import * as types from './a'; 14 >types : typeof types 16 export = types; 17 >types : typeof types 20 import types from './b'; 21 >types : typeof types [all …]
|
| D | exportDefault.types | 6 import type * as types from './a'; 7 >types : typeof types 9 export default types; 10 >types : typeof types 13 import * as types from './a'; 14 >types : typeof types 16 export default types; 17 >types : typeof types 20 import types from './b'; 21 >types : typeof types [all …]
|
| D | importEquals1.symbols | 6 import type * as types from './a'; 7 >types : Symbol(types, Decl(b.ts, 0, 11)) 9 export = types; // Error 10 >types : Symbol(types, Decl(b.ts, 0, 11)) 13 import * as types from './a'; 14 >types : Symbol(types, Decl(c.ts, 0, 6)) 16 export = types; 17 >types : Symbol(types, Decl(c.ts, 0, 6)) 20 import types from './b'; 21 >types : Symbol(types, Decl(d.ts, 0, 6)) [all …]
|
| D | uniqueSymbolsErrors.errors.txt | 1 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(2,41): error TS1005: 'symbol' exp… 2 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(3,19): error TS1333: 'unique symb… 3 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(4,13): error TS1332: A variable w… 4 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(5,13): error TS1332: A variable w… 5 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(8,38): error TS1335: 'unique symb… 6 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(9,46): error TS1335: 'unique symb… 7 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(10,39): error TS1335: 'unique sym… 8 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(11,40): error TS1335: 'unique sym… 9 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(12,53): error TS1335: 'unique sym… 10 tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts(13,59): error TS1335: 'unique sym… [all …]
|
| D | exportDefault.symbols | 6 import type * as types from './a'; 7 >types : Symbol(types, Decl(b.ts, 0, 11)) 9 export default types; 10 >types : Symbol(types, Decl(b.ts, 0, 11)) 13 import * as types from './a'; 14 >types : Symbol(types, Decl(c.ts, 0, 6)) 16 export default types; 17 >types : Symbol(types, Decl(c.ts, 0, 6)) 20 import types from './b'; 21 >types : Symbol(types, Decl(d.ts, 0, 6)) [all …]
|
| D | comparisonOperatorWithNoRelationshipTypeParameter.errors.txt | 1 …tionshipTypeParameter.ts(12,14): error TS2365: Operator '<' cannot be applied to types 'T' and 'U'. 2 …tionshipTypeParameter.ts(13,14): error TS2365: Operator '>' cannot be applied to types 'T' and 'U'. 3 …ionshipTypeParameter.ts(14,14): error TS2365: Operator '<=' cannot be applied to types 'T' and 'U'. 4 …ionshipTypeParameter.ts(15,14): error TS2365: Operator '>=' cannot be applied to types 'T' and 'U'. 5 …16,14): error TS2367: This condition will always return 'false' since the types 'T' and 'U' have n… 6 …(17,14): error TS2367: This condition will always return 'true' since the types 'T' and 'U' have n… 7 …18,14): error TS2367: This condition will always return 'false' since the types 'T' and 'U' have n… 8 …(19,14): error TS2367: This condition will always return 'true' since the types 'T' and 'U' have n… 9 …ipTypeParameter.ts(22,16): error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. 10 …hipTypeParameter.ts(23,16): error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. [all …]
|
| D | typingsLookup4.trace.json | 9 "Found 'package.json' at '/node_modules/@types/jquery/package.json'.", 11 "File '/node_modules/@types/jquery.d.ts' does not exist.", 12 …"'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jqu… 13 "File '/node_modules/@types/jquery/jquery.d.ts' exist - use it as a name resolution result.", 14 …"Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/j… 15 …"======== Module name 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.… 23 "Found 'package.json' at '/node_modules/@types/kquery/package.json'.", 25 "File '/node_modules/@types/kquery.d.ts' does not exist.", 26 …"'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.… 27 "File '/node_modules/@types/kquery/kquery' does not exist.", [all …]
|
| D | extendsClause.symbols | 1 === tests/cases/conformance/externalModules/typeOnly/types.ts === 3 >I : Symbol(I, Decl(types.ts, 0, 0)) 6 >C : Symbol(C, Decl(types.ts, 0, 21)) 9 import type * as types from './types'; 10 >types : Symbol(types, Decl(ns.ts, 0, 11)) 12 export { types }; 13 >types : Symbol(types, Decl(ns.ts, 1, 8)) 16 import { types } from './ns'; 17 >types : Symbol(types, Decl(index.ts, 0, 8)) 19 import type { C, I } from './types'; [all …]
|
| D | comparisonOperatorWithNoRelationshipPrimitiveType.errors.txt | 1 …pPrimitiveType.ts(10,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'bool… 2 …pPrimitiveType.ts(11,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'stri… 3 …pPrimitiveType.ts(12,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'void… 4 …pPrimitiveType.ts(15,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'num… 5 …pPrimitiveType.ts(16,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'str… 6 …pPrimitiveType.ts(17,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'voi… 7 …ipPrimitiveType.ts(18,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'E'. 8 …pPrimitiveType.ts(20,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'numb… 9 …pPrimitiveType.ts(21,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'bool… 10 …pPrimitiveType.ts(22,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'void… [all …]
|
| D | extendsClause.types | 1 === tests/cases/conformance/externalModules/typeOnly/types.ts === 7 import type * as types from './types'; 8 >types : typeof types 10 export { types }; 11 >types : typeof types 14 import { types } from './ns'; 15 >types : typeof types 17 import type { C, I } from './types'; 18 >C : types.C 19 >I : types.I [all …]
|
| D | implementsClause.symbols | 1 === tests/cases/conformance/externalModules/typeOnly/types.ts === 3 >Component : Symbol(Component, Decl(types.ts, 0, 0)) 6 import type * as types from './types'; 7 >types : Symbol(types, Decl(ns.ts, 0, 11)) 9 export { types }; 10 >types : Symbol(types, Decl(ns.ts, 1, 8)) 13 import type * as types from './types'; 14 >types : Symbol(types, Decl(index.ts, 0, 11)) 19 class C implements types.Component {} 21 >types.Component : Symbol(types.Component, Decl(types.ts, 0, 0)) [all …]
|
| D | library-reference-8.trace.json | 2 …ference directive 'alpha', containing file '/test/foo.ts', root directory '/test/types'. ========", 3 "Resolving with primary search path '/test/types'.", 4 "File '/test/types/alpha/package.json' does not exist.", 5 "File '/test/types/alpha/index.d.ts' exist - use it as a name resolution result.", 6 … "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", 7 …"======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d… 8 …eference directive 'beta', containing file '/test/foo.ts', root directory '/test/types'. ========", 9 "Resolving with primary search path '/test/types'.", 10 "File '/test/types/beta/package.json' does not exist.", 11 "File '/test/types/beta/index.d.ts' exist - use it as a name resolution result.", [all …]
|
| D | restInvalidArgumentType.errors.txt | 1 …/restInvalidArgumentType.ts(30,13): error TS2700: Rest types may only be created from object types. 2 …/restInvalidArgumentType.ts(31,13): error TS2700: Rest types may only be created from object types. 3 …/restInvalidArgumentType.ts(37,13): error TS2700: Rest types may only be created from object types. 4 …/restInvalidArgumentType.ts(40,13): error TS2700: Rest types may only be created from object types. 5 …/restInvalidArgumentType.ts(42,13): error TS2700: Rest types may only be created from object types. 6 …/restInvalidArgumentType.ts(43,13): error TS2700: Rest types may only be created from object types. 7 …/restInvalidArgumentType.ts(45,13): error TS2700: Rest types may only be created from object types. 8 …/restInvalidArgumentType.ts(46,13): error TS2700: Rest types may only be created from object types. 9 …/restInvalidArgumentType.ts(50,13): error TS2700: Rest types may only be created from object types. 10 …/restInvalidArgumentType.ts(51,13): error TS2700: Rest types may only be created from object types. [all …]
|
| D | spreadInvalidArgumentType.errors.txt | 1 …eadInvalidArgumentType.ts(33,16): error TS2698: Spread types may only be created from object types. 2 …eadInvalidArgumentType.ts(34,16): error TS2698: Spread types may only be created from object types. 3 …eadInvalidArgumentType.ts(39,16): error TS2698: Spread types may only be created from object types. 4 …eadInvalidArgumentType.ts(42,17): error TS2698: Spread types may only be created from object types. 5 …eadInvalidArgumentType.ts(44,17): error TS2698: Spread types may only be created from object types. 6 …eadInvalidArgumentType.ts(45,17): error TS2698: Spread types may only be created from object types. 7 …eadInvalidArgumentType.ts(47,17): error TS2698: Spread types may only be created from object types. 8 …eadInvalidArgumentType.ts(48,17): error TS2698: Spread types may only be created from object types. 9 …eadInvalidArgumentType.ts(52,17): error TS2698: Spread types may only be created from object types. 10 …eadInvalidArgumentType.ts(53,17): error TS2698: Spread types may only be created from object types. [all …]
|
| D | chained2.types | 23 import * as types from './b'; 24 >types : typeof types 26 export { types as default }; 27 >types : typeof types 28 >default : typeof types 31 import types from './c'; 32 >types : typeof types 34 new types.A(); 35 >new types.A() : any 36 >types.A : any [all …]
|
| D | compoundAdditionAssignmentWithInvalidOperands.errors.txt | 1 …InvalidOperands.ts(6,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'voi… 2 …InvalidOperands.ts(7,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'boo… 3 …InvalidOperands.ts(8,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'num… 4 …hInvalidOperands.ts(9,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'E'. 5 …nvalidOperands.ts(10,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and '{}'. 6 …nvalidOperands.ts(11,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'nul… 7 …nvalidOperands.ts(12,1): error TS2365: Operator '+=' cannot be applied to types 'boolean' and 'und… 8 …thInvalidOperands.ts(15,1): error TS2365: Operator '+=' cannot be applied to types '{}' and 'void'. 9 …nvalidOperands.ts(16,1): error TS2365: Operator '+=' cannot be applied to types '{}' and 'boolean'. 10 …InvalidOperands.ts(17,1): error TS2365: Operator '+=' cannot be applied to types '{}' and 'number'. [all …]
|
| D | comparisonOperatorWithNoRelationshipObjectsOnProperty.errors.txt | 1 …ipObjectsOnProperty.ts(23,12): error TS2365: Operator '<' cannot be applied to types 'A1' and 'B1'. 2 …ipObjectsOnProperty.ts(24,12): error TS2365: Operator '<' cannot be applied to types 'A2' and 'B2'. 3 …ipObjectsOnProperty.ts(26,12): error TS2365: Operator '<' cannot be applied to types 'B1' and 'A1'. 4 …ipObjectsOnProperty.ts(27,12): error TS2365: Operator '<' cannot be applied to types 'B2' and 'A2'. 5 …ipObjectsOnProperty.ts(30,12): error TS2365: Operator '>' cannot be applied to types 'A1' and 'B1'. 6 …ipObjectsOnProperty.ts(31,12): error TS2365: Operator '>' cannot be applied to types 'A2' and 'B2'. 7 …ipObjectsOnProperty.ts(33,12): error TS2365: Operator '>' cannot be applied to types 'B1' and 'A1'. 8 …ipObjectsOnProperty.ts(34,12): error TS2365: Operator '>' cannot be applied to types 'B2' and 'A2'. 9 …pObjectsOnProperty.ts(37,12): error TS2365: Operator '<=' cannot be applied to types 'A1' and 'B1'. 10 …pObjectsOnProperty.ts(38,12): error TS2365: Operator '<=' cannot be applied to types 'A2' and 'B2'. [all …]
|
| D | numberVsBigIntOperations.errors.txt | 3 …BigIntOperations.ts(4,15): error TS2365: Operator '+=' cannot be applied to types 'bigint' and '2'. 4 …igIntOperations.ts(4,28): error TS2365: Operator '+=' cannot be applied to types 'number' and '1n'. 5 …gIntOperations.ts(5,15): error TS2365: Operator '-=' cannot be applied to types 'bigint' and 'numb… 6 …gIntOperations.ts(5,28): error TS2365: Operator '-=' cannot be applied to types 'number' and 'bigi… 7 …gIntOperations.ts(6,15): error TS2365: Operator '*=' cannot be applied to types 'bigint' and 'numb… 8 …gIntOperations.ts(6,28): error TS2365: Operator '*=' cannot be applied to types 'number' and 'bigi… 9 …gIntOperations.ts(7,15): error TS2365: Operator '/=' cannot be applied to types 'bigint' and 'numb… 10 …gIntOperations.ts(7,28): error TS2365: Operator '/=' cannot be applied to types 'number' and 'bigi… 11 …gIntOperations.ts(8,15): error TS2365: Operator '%=' cannot be applied to types 'bigint' and 'numb… 12 …gIntOperations.ts(8,28): error TS2365: Operator '%=' cannot be applied to types 'number' and 'bigi… [all …]
|
| D | objectTypeHidingMembersOfObjectAssignmentCompat2.errors.txt | 1 tests/cases/conformance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts(7,1): err… 2 The types returned by 'toString()' are incompatible between these types. 4 …mance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts(8,1): error TS2696: The 'O… 5 The types returned by 'toString()' are incompatible between these types. 7 tests/cases/conformance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts(14,1): er… 8 The types returned by 'toString()' are incompatible between these types. 10 …ance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts(15,1): error TS2696: The 'O… 11 The types returned by 'toString()' are incompatible between these types. 13 tests/cases/conformance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts(20,1): er… 14 The types returned by 'toString()' are incompatible between these types. [all …]
|
| D | importClause_namespaceImport.symbols | 19 import type * as types from './a'; 20 >types : Symbol(types, Decl(b.ts, 0, 11)) 22 types; 23 >types : Symbol(types, Decl(b.ts, 0, 11)) 25 types.Value; 26 >types.Value : Symbol(types.Value, Decl(a.ts, 3, 12)) 27 >types : Symbol(types, Decl(b.ts, 0, 11)) 28 >Value : Symbol(types.Value, Decl(a.ts, 3, 12)) 30 let v: types.Value; 32 >types : Symbol(types, Decl(b.ts, 0, 11)) [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
| D | types_test.cpp | 21 #include "opt/types.h" 28 // Fixture class providing some element types. 40 // Element types to be used for constructing other types for testing. 50 std::vector<std::unique_ptr<Type>> types; \ 51 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \ 52 for (size_t i = 0; i < types.size(); ++i) { \ 53 for (size_t j = 0; j < types.size(); ++j) { \ 54 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \ 55 << "expected '" << types[i]->str() << "' is the same as '" \ 56 << types[j]->str() << "'"; \ [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
| D | types_test.cpp | 15 #include "source/opt/types.h" 29 // Fixture class providing some element types. 42 // Element types to be used for constructing other types for testing. 52 std::vector<std::unique_ptr<Type>> types; \ 53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \ 54 for (size_t i = 0; i < types.size(); ++i) { \ 55 for (size_t j = 0; j < types.size(); ++j) { \ 56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \ 57 << "expected '" << types[i]->str() << "' is the same as '" \ 58 << types[j]->str() << "'"; \ [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/test/opt/ |
| D | types_test.cpp | 15 #include "source/opt/types.h" 29 // Fixture class providing some element types. 42 // Element types to be used for constructing other types for testing. 52 std::vector<std::unique_ptr<Type>> types; \ 53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \ 54 for (size_t i = 0; i < types.size(); ++i) { \ 55 for (size_t j = 0; j < types.size(); ++j) { \ 56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \ 57 << "expected '" << types[i]->str() << "' is the same as '" \ 58 << types[j]->str() << "'"; \ [all …]
|
| /third_party/spirv-tools/test/opt/ |
| D | types_test.cpp | 15 #include "source/opt/types.h" 29 // Fixture class providing some element types. 42 // Element types to be used for constructing other types for testing. 52 std::vector<std::unique_ptr<Type>> types; \ 53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \ 54 for (size_t i = 0; i < types.size(); ++i) { \ 55 for (size_t j = 0; j < types.size(); ++j) { \ 56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \ 57 << "expected '" << types[i]->str() << "' is the same as '" \ 58 << types[j]->str() << "'"; \ [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | typingsInstaller.ts | 62 path: typesCache + "/node_modules/@types/config/index.d.ts", 117 path: "/a/data/node_modules/@types/jquery/index.d.ts", 126 const installedTypings = ["@types/jquery"]; 150 … expectedWatchedDirectoriesRecursive.set("/a/b/node_modules/@types", 1); // type root watch 182 path: "/a/data/node_modules/@types/jquery/index.d.ts", 191 const installedTypings = ["@types/jquery"]; 282 it("external project - deduplicate from local @types packages", () => { 288 path: "/node_modules/@types/node/index.d.ts", 348 path: "/a/data/node_modules/@types/jquery/index.d.ts", 362 const installedTypings = ["@types/node"]; [all …]
|