Home
last modified time | relevance | path

Searched full:typescript (Results 1 – 25 of 2207) sorted by relevance

12345678910>>...89

/third_party/typescript/tests/baselines/reference/
DparserRealSource14.types5 ///<reference path='typescript.ts' />
7 module TypeScript {
8 >TypeScript : typeof TypeScript
71 public asts: TypeScript.AST[] = [];
72 >asts : TypeScript.AST[]
73 >TypeScript : any
119 >clone.asts = this.asts.map((value) => { return value; }) : TypeScript.AST[]
120 >clone.asts : TypeScript.AST[]
122 >asts : TypeScript.AST[]
123 >this.asts.map((value) => { return value; }) : TypeScript.AST[]
[all …]
DparserRealSource14.errors.txt1 ….ts(4,21): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/typescript.ts' not found.
2 …ser/ecmascript5/parserRealSource14.ts(24,33): error TS2694: Namespace 'TypeScript' has no exported…
3 …ser/ecmascript5/parserRealSource14.ts(38,34): error TS2694: Namespace 'TypeScript' has no exported…
4 …ser/ecmascript5/parserRealSource14.ts(48,37): error TS2694: Namespace 'TypeScript' has no exported…
5 …ser/ecmascript5/parserRealSource14.ts(68,39): error TS2694: Namespace 'TypeScript' has no exported…
6 …alSource14.ts(70,35): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
7 …ser/ecmascript5/parserRealSource14.ts(75,32): error TS2694: Namespace 'TypeScript' has no exported…
8 …ser/ecmascript5/parserRealSource14.ts(79,32): error TS2694: Namespace 'TypeScript' has no exported…
9 …ser/ecmascript5/parserRealSource14.ts(86,47): error TS2694: Namespace 'TypeScript' has no exported…
10 …alSource14.ts(94,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
[all …]
DparserRealSource14.js5 ///<reference path='typescript.ts' />
7 module TypeScript {
25 public asts: TypeScript.AST[] = [];
39 public pop(): TypeScript.AST {
49 public push(ast: TypeScript.AST) {
69 public nodeType(): TypeScript.NodeType {
71 return TypeScript.NodeType.None;
76 … return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
80 return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
87 public get(index: number): TypeScript.AST {
[all …]
DjsDeclarationsInterfaces.errors.txt1 …ations/index.js(4,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
2 …ations/index.js(6,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
3 …tions/index.js(10,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
4 …tions/index.js(31,11): error TS8006: 'interface' declarations can only be used in TypeScript files.
6 …tions/index.js(35,11): error TS8006: 'interface' declarations can only be used in TypeScript files.
8 …tions/index.js(39,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
11 …tions/index.js(43,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
12 …tions/index.js(45,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
13 …tions/index.js(49,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
14 …tions/index.js(53,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
[all …]
DjsDeclarationsClassesErr.errors.txt1 …ons/index.js(4,16): error TS8004: Type parameter declarations can only be used in TypeScript files.
2 …c/declarations/index.js(5,12): error TS8010: Type annotations can only be used in TypeScript files.
3 …ons/index.js(8,16): error TS8004: Type parameter declarations can only be used in TypeScript files.
4 …doc/declarations/index.js(8,29): error TS8011: Type arguments can only be used in TypeScript files.
5 …c/declarations/index.js(9,12): error TS8010: Type annotations can only be used in TypeScript files.
6 …/declarations/index.js(13,11): error TS8010: Type annotations can only be used in TypeScript files.
7 …/declarations/index.js(19,11): error TS8010: Type annotations can only be used in TypeScript files.
8 …/declarations/index.js(23,11): error TS8010: Type annotations can only be used in TypeScript files.
9 …/declarations/index.js(27,11): error TS8010: Type annotations can only be used in TypeScript files.
10 …/declarations/index.js(28,11): error TS8010: Type annotations can only be used in TypeScript files.
[all …]
DmoduleMemberWithoutTypeAnnotation1.js2 module TypeScript.Parser {
10 module TypeScript {
26 module TypeScript {
38 module TypeScript.Syntax {
50 var TypeScript; variable
51 (function (TypeScript) { argument
62 })(Parser = TypeScript.Parser || (TypeScript.Parser = {}));
63 })(TypeScript || (TypeScript = {}));
64 (function (TypeScript) { argument
71 return TypeScript.Syntax.childIndex();
[all …]
DmoduleExports1.types2 export module TypeScript.Strasse.Street {
3 >TypeScript : typeof TypeScript
15 var rue = new TypeScript.Strasse.Street.Rue();
16 >rue : TypeScript.Strasse.Street.Rue
17 >new TypeScript.Strasse.Street.Rue() : TypeScript.Strasse.Street.Rue
18 >TypeScript.Strasse.Street.Rue : typeof TypeScript.Strasse.Street.Rue
19 >TypeScript.Strasse.Street : typeof TypeScript.Strasse.Street
20 >TypeScript.Strasse : typeof TypeScript.Strasse
21 >TypeScript : typeof TypeScript
22 >Strasse : typeof TypeScript.Strasse
[all …]
DtypeInferenceWithExcessProperties.types19 >parrot({ name: "TypeScript",}) : { name: string; }
21 >{ name: "TypeScript",} : { name: string; }
23 name: "TypeScript",
25 >"TypeScript" : "TypeScript"
30 >parrot({ name: "TypeScript", age: 5,}) : { name: string; age: number; }
32 >{ name: "TypeScript", age: 5,} : { name: string; age: number; }
34 name: "TypeScript",
36 >"TypeScript" : "TypeScript"
45 >parrot({ name: "TypeScript", age: function () { },}) : { name: string; age: () => void; }
47 >{ name: "TypeScript", age: function () { },} : { name: string; age: () => void; }
[all …]
DparserRealSource14.symbols5 ///<reference path='typescript.ts' />
7 module TypeScript {
8 >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0))
56 public asts: TypeScript.AST[] = [];
58 >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0))
59 >AST : Symbol(TypeScript.AST)
114 public pop(): TypeScript.AST {
116 >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0))
117 >AST : Symbol(TypeScript.AST)
151 public push(ast: TypeScript.AST) {
[all …]
DjsDeclarationsEnums.errors.txt1 …eclarations/index.js(4,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
2 …eclarations/index.js(6,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
3 …eclarations/index.js(10,6): error TS8006: 'enum' declarations can only be used in TypeScript files.
4 …eclarations/index.js(14,6): error TS8006: 'enum' declarations can only be used in TypeScript files.
5 …clarations/index.js(18,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
6 …clarations/index.js(22,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
7 …clarations/index.js(24,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
8 …clarations/index.js(30,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
9 …clarations/index.js(35,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
10 …clarations/index.js(41,19): error TS8006: 'enum' declarations can only be used in TypeScript files.
[all …]
DmoduleExports1.symbols2 export module TypeScript.Strasse.Street {
3 >TypeScript : Symbol(TypeScript, Decl(moduleExports1.ts, 0, 0))
15 var rue = new TypeScript.Strasse.Street.Rue();
17 >TypeScript.Strasse.Street.Rue : Symbol(TypeScript.Strasse.Street.Rue, Decl(moduleExports1.ts, 0, 4…
18 >TypeScript.Strasse.Street : Symbol(TypeScript.Strasse.Street, Decl(moduleExports1.ts, 0, 33))
19 >TypeScript.Strasse : Symbol(TypeScript.Strasse, Decl(moduleExports1.ts, 0, 25))
20 >TypeScript : Symbol(TypeScript, Decl(moduleExports1.ts, 0, 0))
21 >Strasse : Symbol(TypeScript.Strasse, Decl(moduleExports1.ts, 0, 25))
22 >Street : Symbol(TypeScript.Strasse.Street, Decl(moduleExports1.ts, 0, 33))
23 >Rue : Symbol(TypeScript.Strasse.Street.Rue, Decl(moduleExports1.ts, 0, 41))
[all …]
DnodeModulesImportTypeModeDeclarationEmit1(module=node16).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
3 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
4 … is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
5 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
12 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
19 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
22 … is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
24 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
DnodeModulesImportTypeModeDeclarationEmit1(module=nodenext).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
3 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
4 … is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
5 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
12 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
19 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
22 … is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
24 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
DnodeModulesImportModeDeclarationEmit2(module=nodenext).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
5 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
7 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
8 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
9 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
18 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
28 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
33 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
[all …]
DnodeModulesImportModeDeclarationEmit1(module=nodenext).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
4 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
7 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
8 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
9 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
18 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
26 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
33 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
[all …]
DnodeModulesImportModeDeclarationEmit1(module=node16).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
4 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
7 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
8 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
9 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
18 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
26 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
33 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
[all …]
DnodeModulesImportModeDeclarationEmit2(module=node16).errors.txt1 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
2 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
5 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
7 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
8 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
9 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
15 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
18 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
28 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
33 …assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm inst…
[all …]
/third_party/typescript/tests/verify_3rd_libs/
Dproject_list.txt1 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\mater…
2 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\b…
3 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
4 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
5 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
6 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
7 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
8 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
9 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
10 C:\Users\xxx\ohos\openharmony\verify-3rd-lib\third_party\typescript\test\verify_3rd_libs\libs\aki\e…
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource14.ts4 ///<reference path='typescript.ts' />
6 module TypeScript {
24 public asts: TypeScript.AST[] = [];
38 public pop(): TypeScript.AST {
48 public push(ast: TypeScript.AST) {
68 public nodeType(): TypeScript.NodeType {
70 return TypeScript.NodeType.None;
75 … return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
79 return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
86 public get(index: number): TypeScript.AST {
[all …]
/third_party/typescript/
DREADME.md2 # TypeScript chapter
4 …tions CI](https://github.com/microsoft/TypeScript/workflows/CI/badge.svg)](https://github.com/micr…
5 …](https://dev.azure.com/typescript/TypeScript/_apis/build/status/Typescript/node10)](https://dev.a…
6 [![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
7 [![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescri…
9TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeS…
11 Find others who are using TypeScript at [our community page](https://www.typescriptlang.org/communi…
18 npm install -g typescript
24 npm install -g typescript@next
29 … ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeSc…
[all …]
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js13 }): import("typescript-fsa").Action<{
25 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json]
26 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
28 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts]
50 import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
55 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
56 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
58 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
90 ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/actio…
92 Loading module 'typescript-fsa' from 'node_modules' folder, target file type 'TypeScript'.
[all …]
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package.js13 }): import("typescript-fsa").Action<{
25 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json]
26 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
28 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts]
50 import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
55 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
56 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
58 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
90 ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/actio…
92 Loading module 'typescript-fsa' from 'node_modules' folder, target file type 'TypeScript'.
[all …]
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js16 }): import("typescript-fsa").Action<{
28 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json]
29 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
31 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts]
51 import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
56 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
57 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
59 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
94 Loading module 'plugin-two' from 'node_modules' folder, target file type 'TypeScript'.
106 …yproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js', target file type 'TypeScript'.
[all …]
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js16 }): import("typescript-fsa").Action<{
28 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json]
29 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
31 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts]
51 import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
56 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
57 {"name":"typescript-fsa","version":"3.0.0-beta-2"}
59 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
94 Loading module 'plugin-two' from 'node_modules' folder, target file type 'TypeScript'.
106 …yproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js', target file type 'TypeScript'.
[all …]
/third_party/typescript/tests/cases/docker/azure-sdk/
DDockerfile8 RUN rush add -p "typescript@3.5.1" --dev -m
10 WORKDIR /azure-sdk/common/temp/node_modules/.pnpm/registry.npmjs.org/typescript/3.5.1/node_modules
11 RUN rm -rf typescript
12 COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
13 RUN mkdir /typescript
14 RUN tar -xzvf /typescript.tgz -C /typescript
15 RUN ln -s /typescript/package ./typescript

12345678910>>...89