Skip to content

Commit 220ee81

Browse files
committed
Accept the baselines
1 parent bdd74b0 commit 220ee81

File tree

118 files changed

+197023
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+197023
-0
lines changed

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js

Lines changed: 584 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js

Lines changed: 1332 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js

Lines changed: 857 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js

Lines changed: 594 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js

Lines changed: 3776 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js

Lines changed: 734 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js

Lines changed: 1160 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js

Lines changed: 1129 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js

Lines changed: 4651 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js

Lines changed: 835 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js

Lines changed: 1731 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js

Lines changed: 1169 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js

Lines changed: 866 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/stripInternal.js

Lines changed: 4727 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/triple-slash-refs-in-all-projects.js

Lines changed: 1076 additions & 0 deletions
Large diffs are not rendered by default.

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/when-the-module-resolution-finds-original-source-file.js

Lines changed: 856 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
//// [/lib/incremental-declaration-changesOutput.txt]
2+
/lib/tsc --b /src --verbose
3+
4:04:00 PM - Projects in this build:
4+
* src/tsconfig.json
5+
6+
4:04:00 PM - Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts'
7+
8+
4:04:00 PM - Building project '/src/tsconfig.json'...
9+
10+
exitCode:: 0
11+
12+
13+
//// [/src/lib/a.d.ts]
14+
import { B } from "./b";
15+
export interface A {
16+
b: B;
17+
foo: any;
18+
}
19+
//# sourceMappingURL=a.d.ts.map
20+
21+
//// [/src/lib/a.d.ts.map]
22+
{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;IAAC,GAAG,EAAE,GAAG,CAAC;CAChB"}
23+
24+
//// [/src/lib/b.d.ts] file written with same contents
25+
//// [/src/lib/b.d.ts.map] file written with same contents
26+
//// [/src/lib/c.d.ts] file written with same contents
27+
//// [/src/lib/c.d.ts.map] file written with same contents
28+
//// [/src/lib/index.d.ts] file written with same contents
29+
//// [/src/lib/index.d.ts.map] file written with same contents
30+
//// [/src/src/a.ts]
31+
import { B } from "./b";
32+
33+
export interface A {
34+
b: B; foo: any;
35+
}
36+
37+
38+
//// [/src/tsconfig.tsbuildinfo]
39+
{
40+
"program": {
41+
"fileInfos": {
42+
"../lib/lib.d.ts": {
43+
"version": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
44+
"signature": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
45+
},
46+
"./src/c.ts": {
47+
"version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n",
48+
"signature": "-21569163793-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n//# sourceMappingURL=c.d.ts.map"
49+
},
50+
"./src/b.ts": {
51+
"version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n",
52+
"signature": "25318058868-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n//# sourceMappingURL=b.d.ts.map"
53+
},
54+
"./src/a.ts": {
55+
"version": "-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n",
56+
"signature": "-11119001497-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n//# sourceMappingURL=a.d.ts.map"
57+
},
58+
"./src/index.ts": {
59+
"version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n",
60+
"signature": "14762544269-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n//# sourceMappingURL=index.d.ts.map"
61+
}
62+
},
63+
"options": {
64+
"incremental": true,
65+
"target": 1,
66+
"module": 1,
67+
"declaration": true,
68+
"declarationMap": true,
69+
"sourceMap": true,
70+
"outDir": "./lib",
71+
"composite": true,
72+
"strict": true,
73+
"esModuleInterop": true,
74+
"alwaysStrict": true,
75+
"rootDir": "./src",
76+
"emitDeclarationOnly": true,
77+
"configFilePath": "./tsconfig.json"
78+
},
79+
"referencedMap": {
80+
"./src/a.ts": [
81+
"./src/b.ts"
82+
],
83+
"./src/b.ts": [
84+
"./src/c.ts"
85+
],
86+
"./src/c.ts": [
87+
"./src/a.ts"
88+
],
89+
"./src/index.ts": [
90+
"./src/a.ts",
91+
"./src/b.ts",
92+
"./src/c.ts"
93+
]
94+
},
95+
"exportedModulesMap": {
96+
"./src/a.ts": [
97+
"./src/b.ts"
98+
],
99+
"./src/b.ts": [
100+
"./src/c.ts"
101+
],
102+
"./src/c.ts": [
103+
"./src/a.ts"
104+
],
105+
"./src/index.ts": [
106+
"./src/a.ts",
107+
"./src/b.ts",
108+
"./src/c.ts"
109+
]
110+
},
111+
"semanticDiagnosticsPerFile": [
112+
"../lib/lib.d.ts",
113+
"./src/a.ts",
114+
"./src/b.ts",
115+
"./src/c.ts",
116+
"./src/index.ts"
117+
]
118+
},
119+
"version": "FakeTSVersion"
120+
}
121+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
//// [/lib/incremental-declaration-changesOutput.txt]
2+
/lib/tsc --b /src --verbose
3+
4:04:00 PM - Projects in this build:
4+
* src/tsconfig.json
5+
6+
4:04:00 PM - Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts'
7+
8+
4:04:00 PM - Building project '/src/tsconfig.json'...
9+
10+
exitCode:: 0
11+
12+
13+
//// [/src/lib/a.d.ts]
14+
import { B } from "./b";
15+
export interface A {
16+
b: B;
17+
foo: any;
18+
}
19+
20+
21+
//// [/src/lib/b.d.ts] file written with same contents
22+
//// [/src/lib/c.d.ts] file written with same contents
23+
//// [/src/lib/index.d.ts] file written with same contents
24+
//// [/src/src/a.ts]
25+
import { B } from "./b";
26+
27+
export interface A {
28+
b: B; foo: any;
29+
}
30+
31+
32+
//// [/src/tsconfig.tsbuildinfo]
33+
{
34+
"program": {
35+
"fileInfos": {
36+
"../lib/lib.d.ts": {
37+
"version": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
38+
"signature": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
39+
},
40+
"./src/c.ts": {
41+
"version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n",
42+
"signature": "-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"
43+
},
44+
"./src/b.ts": {
45+
"version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n",
46+
"signature": "20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"
47+
},
48+
"./src/a.ts": {
49+
"version": "-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n",
50+
"signature": "-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"
51+
},
52+
"./src/index.ts": {
53+
"version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n",
54+
"signature": "-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"
55+
}
56+
},
57+
"options": {
58+
"incremental": true,
59+
"target": 1,
60+
"module": 1,
61+
"declaration": true,
62+
"sourceMap": true,
63+
"outDir": "./lib",
64+
"composite": true,
65+
"strict": true,
66+
"esModuleInterop": true,
67+
"alwaysStrict": true,
68+
"rootDir": "./src",
69+
"emitDeclarationOnly": true,
70+
"configFilePath": "./tsconfig.json"
71+
},
72+
"referencedMap": {
73+
"./src/a.ts": [
74+
"./src/b.ts"
75+
],
76+
"./src/b.ts": [
77+
"./src/c.ts"
78+
],
79+
"./src/c.ts": [
80+
"./src/a.ts"
81+
],
82+
"./src/index.ts": [
83+
"./src/a.ts",
84+
"./src/b.ts",
85+
"./src/c.ts"
86+
]
87+
},
88+
"exportedModulesMap": {
89+
"./src/a.ts": [
90+
"./src/b.ts"
91+
],
92+
"./src/b.ts": [
93+
"./src/c.ts"
94+
],
95+
"./src/c.ts": [
96+
"./src/a.ts"
97+
],
98+
"./src/index.ts": [
99+
"./src/a.ts",
100+
"./src/b.ts",
101+
"./src/c.ts"
102+
]
103+
},
104+
"semanticDiagnosticsPerFile": [
105+
"../lib/lib.d.ts",
106+
"./src/a.ts",
107+
"./src/b.ts",
108+
"./src/c.ts",
109+
"./src/index.ts"
110+
]
111+
},
112+
"version": "FakeTSVersion"
113+
}
114+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
//// [/lib/incremental-declaration-changesOutput.txt]
2+
/lib/tsc --b /src --verbose
3+
4:04:00 PM - Projects in this build:
4+
* src/tsconfig.json
5+
6+
4:04:00 PM - Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts'
7+
8+
4:04:00 PM - Building project '/src/tsconfig.json'...
9+
10+
exitCode:: 0
11+
12+
13+
//// [/src/lib/a.d.ts]
14+
export declare class B {
15+
prop: string;
16+
}
17+
export interface A {
18+
b: B;
19+
foo: any;
20+
}
21+
//# sourceMappingURL=a.d.ts.map
22+
23+
//// [/src/lib/a.d.ts.map]
24+
{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAElC,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;IAAC,GAAG,EAAE,GAAG,CAAC;CAChB"}
25+
26+
//// [/src/lib/b.d.ts] file written with same contents
27+
//// [/src/lib/b.d.ts.map] file written with same contents
28+
//// [/src/lib/c.d.ts] file written with same contents
29+
//// [/src/lib/c.d.ts.map] file written with same contents
30+
//// [/src/src/a.ts]
31+
export class B { prop = "hello"; }
32+
33+
export interface A {
34+
b: B; foo: any;
35+
}
36+
37+
38+
//// [/src/tsconfig.tsbuildinfo]
39+
{
40+
"program": {
41+
"fileInfos": {
42+
"../lib/lib.d.ts": {
43+
"version": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
44+
"signature": "3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
45+
},
46+
"./src/a.ts": {
47+
"version": "7973388544-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B; foo: any;\n}\n",
48+
"signature": "3224647069-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n//# sourceMappingURL=a.d.ts.map"
49+
},
50+
"./src/c.ts": {
51+
"version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n",
52+
"signature": "-21569163793-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n//# sourceMappingURL=c.d.ts.map"
53+
},
54+
"./src/b.ts": {
55+
"version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n",
56+
"signature": "25318058868-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n//# sourceMappingURL=b.d.ts.map"
57+
}
58+
},
59+
"options": {
60+
"incremental": true,
61+
"target": 1,
62+
"module": 1,
63+
"declaration": true,
64+
"declarationMap": true,
65+
"sourceMap": true,
66+
"outDir": "./lib",
67+
"composite": true,
68+
"strict": true,
69+
"esModuleInterop": true,
70+
"alwaysStrict": true,
71+
"rootDir": "./src",
72+
"emitDeclarationOnly": true,
73+
"configFilePath": "./tsconfig.json"
74+
},
75+
"referencedMap": {
76+
"./src/b.ts": [
77+
"./src/c.ts"
78+
],
79+
"./src/c.ts": [
80+
"./src/a.ts"
81+
]
82+
},
83+
"exportedModulesMap": {
84+
"./src/b.ts": [
85+
"./src/c.ts"
86+
],
87+
"./src/c.ts": [
88+
"./src/a.ts"
89+
]
90+
},
91+
"semanticDiagnosticsPerFile": [
92+
"../lib/lib.d.ts",
93+
"./src/a.ts",
94+
"./src/b.ts",
95+
"./src/c.ts"
96+
]
97+
},
98+
"version": "FakeTSVersion"
99+
}
100+

0 commit comments

Comments
 (0)