/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 | 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 | 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 | nodeModulesExportsBlocksTypesVersions(module=node16).trace.json | 2 "File '/node_modules/exports-and-types-versions/types/package.json' does not exist.", 3 "Found 'package.json' at '/node_modules/exports-and-types-versions/package.json'.", 5 "File '/node_modules/just-types-versions/types/package.json' does not exist.", 6 "Found 'package.json' at '/node_modules/just-types-versions/package.json'.", 8 "======== Resolving module 'exports-and-types-versions/foo' from '/main.cts'. ========", 10 "Resolving in CJS mode with conditions 'node', 'require', 'types'.", 12 …"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file type 'Typ… 13 …"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached l… 15 …"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - strippin… 16 "File '/node_modules/exports-and-types-versions/dist/foo.ts' does not exist.", [all …]
|
D | nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json | 2 "File '/node_modules/exports-and-types-versions/types/package.json' does not exist.", 3 "Found 'package.json' at '/node_modules/exports-and-types-versions/package.json'.", 5 "File '/node_modules/just-types-versions/types/package.json' does not exist.", 6 "Found 'package.json' at '/node_modules/just-types-versions/package.json'.", 8 "======== Resolving module 'exports-and-types-versions/foo' from '/main.cts'. ========", 10 "Resolving in CJS mode with conditions 'node', 'require', 'types'.", 12 …"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file type 'Typ… 13 …"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached l… 15 …"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - strippin… 16 "File '/node_modules/exports-and-types-versions/dist/foo.ts' does not exist.", [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 | typingsLookup4.trace.json | 10 "Found 'package.json' at '/node_modules/@types/jquery/package.json'.", 12 "File '/node_modules/@types/jquery.d.ts' does not exist.", 13 …"'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jqu… 14 "File '/node_modules/@types/jquery/jquery.d.ts' exist - use it as a name resolution result.", 15 …"Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/j… 16 …"======== Module name 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.… 25 "Found 'package.json' at '/node_modules/@types/kquery/package.json'.", 27 "File '/node_modules/@types/kquery.d.ts' does not exist.", 28 …"'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.… 29 "File '/node_modules/@types/kquery/kquery' does not exist.", [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 | nodeModulesExportsBlocksTypesVersions(module=node16).errors.txt | 1 error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file. Did… 4 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-… 5 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f… 6 /main.cts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo… 7 /main.cts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its… 8 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-… 9 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f… 10 /main.mts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo… 11 /main.mts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its… 14 !!! error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file.… [all …]
|
D | nodeModulesExportsBlocksTypesVersions(module=nodenext).errors.txt | 1 error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file. Did… 4 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-… 5 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f… 6 /main.cts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo… 7 /main.cts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its… 8 …t find a declaration file for module 'exports-and-types-versions/foo'. '/node_modules/exports-and-… 9 …s-and-types-versions' package actually exposes this module, try adding a new declaration (.d.ts) f… 10 /main.mts(2,16): error TS2307: Cannot find module 'exports-and-types-versions/nope' or its correspo… 11 /main.mts(5,16): error TS2307: Cannot find module 'exports-and-types-versions/versioned-nah' or its… 14 !!! error TS6504: File '/node_modules/exports-and-types-versions/dist/foo.js' is a JavaScript file.… [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 | importClause_namespaceImport.types | 18 import type * as types from './a'; 19 >types : typeof types 21 types; 22 >types : typeof types 24 types.Value; 25 >types.Value : {} 26 >types : typeof types 29 let v: types.Value; 30 >v : types.Value 31 >types : any [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 | 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 | 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 | 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 | 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 …]
|
/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/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/node/deps/undici/src/ |
D | index.d.ts | 1 import Dispatcher from'./types/dispatcher' 2 import { setGlobalDispatcher, getGlobalDispatcher } from './types/global-dispatcher' 3 import { setGlobalOrigin, getGlobalOrigin } from './types/global-origin' 4 import Pool from'./types/pool' 5 import { RedirectHandler, DecoratorHandler } from './types/handlers' 7 import BalancedPool from './types/balanced-pool' 8 import Client from'./types/client' 9 import buildConnector from'./types/connector' 10 import errors from'./types/errors' 11 import Agent from'./types/agent' [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"]; 161 path: "/a/data/node_modules/@types/jquery/index.d.ts", 170 const installedTypings = ["@types/jquery"]; 261 it("external project - deduplicate from local @types packages", () => { 267 path: "/node_modules/@types/node/index.d.ts", 327 path: "/a/data/node_modules/@types/jquery/index.d.ts", 341 const installedTypings = ["@types/node"]; 381 path: "/a/data/node_modules/@types/react/index.d.ts", [all …]
|
/third_party/typescript/tests/baselines/reference/tscWatch/resolutionCache/ |
D | works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js | 21 //// [/user/username/projects/myproject/node_modules/@types/node/index.d.ts] 24 //// [/user/username/projects/myproject/node_modules/@types/node/base.d.ts] 28 //// [/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts] 31 //// [/user/username/projects/myproject/node_modules/@types/node/globals.d.ts] 51 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d… 52 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.… 53 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/b… 54 FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals… 58 DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undef… 59 …cher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type r… [all …]
|
/third_party/typescript/tests/cases/conformance/node/ |
D | nodeModulesExportsBlocksTypesVersions.ts | 5 // @Filename: /node_modules/exports-and-types-versions/package.json 7 "name": "exports-and-types-versions", 12 "types": "./types/foo.d.ts", 16 "types@>=4": "./types/foo.d.ts" 19 "types@<4": "./types/foo.d.ts" 24 "foo": ["./types/foo.d.ts"], 25 "nope": ["./types/foo.d.ts"], 26 "versioned-nah": ["./types/foo.d.ts"] 31 // @Filename: /node_modules/exports-and-types-versions/dist/foo.js 34 // @Filename: /node_modules/exports-and-types-versions/types/foo.d.ts [all …]
|