1
+ 0 :: modify js file
2
+ ** * Needs explanation
3
+ File: / s r c / project/ outdir / src / bug . d . ts
4
+ CleanBuild:
5
+ export const bug : W . Wrap < {
6
+ n : B . Box < number > ;
7
+ } > ;
8
+ export const something : 1 ;
9
+ import * as B from "./box.js" ;
10
+ import * as W from "./wrap.js" ;
11
+
12
+ IncrementalBuild:
13
+ export const bug : W . Wrap < {
14
+ n : B . Box < number > ;
15
+ } > ;
16
+ export const something : 1 ;
17
+ import * as W from "./wrap.js" ;
18
+
19
+ TsBuild info text without affectedFilesPendingEmit:: / s r c / project/ outdir / tsconfig . tsbuildinfo . readable . baseline . txt ::
20
+ CleanBuild:
21
+ {
22
+ "program" : {
23
+ "fileInfos" : {
24
+ "../../../lib/lib.d.ts" : {
25
+ "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; };" ,
26
+ "affectsGlobalScope" : true
27
+ } ,
28
+ "../src/box.ts" : {
29
+ "version" : "-14267342128-export interface Box<T> {\n unbox(): T\n}\n"
30
+ } ,
31
+ "../src/wrap.ts" : {
32
+ "version" : "-7208318765-export type Wrap<C> = {\n [K in keyof C]: { wrapped: C[K] }\n}\n"
33
+ } ,
34
+ "../src/bug.js" : {
35
+ "version" : "-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap<C>}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box<number>}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;"
36
+ }
37
+ } ,
38
+ "root" : [
39
+ [
40
+ [
41
+ 2 ,
42
+ 4
43
+ ] ,
44
+ [
45
+ "../src/box.ts" ,
46
+ "../src/wrap.ts" ,
47
+ "../src/bug.js"
48
+ ]
49
+ ]
50
+ ] ,
51
+ "options" : {
52
+ "composite" : true ,
53
+ "outDir" : "./"
54
+ } ,
55
+ "referencedMap" : {
56
+ "../src/bug.js" : [
57
+ "../src/box.ts" ,
58
+ "../src/wrap.ts"
59
+ ]
60
+ } ,
61
+ "semanticDiagnosticsPerFile" : [
62
+ "../../../lib/lib.d.ts" ,
63
+ "../src/box.ts" ,
64
+ "../src/bug.js" ,
65
+ "../src/wrap.ts"
66
+ ] ,
67
+ "latestChangedDtsFile" : "FakeFileName"
68
+ } ,
69
+ "version" : "FakeTSVersion"
70
+ }
71
+ IncrementalBuild:
72
+ {
73
+ "program" : {
74
+ "fileInfos" : {
75
+ "../../../lib/lib.d.ts" : {
76
+ "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; };" ,
77
+ "affectsGlobalScope" : true
78
+ } ,
79
+ "../src/box.ts" : {
80
+ "version" : "-14267342128-export interface Box<T> {\n unbox(): T\n}\n"
81
+ } ,
82
+ "../src/wrap.ts" : {
83
+ "version" : "-7208318765-export type Wrap<C> = {\n [K in keyof C]: { wrapped: C[K] }\n}\n"
84
+ } ,
85
+ "../src/bug.js" : {
86
+ "version" : "-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap<C>}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box<number>}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;"
87
+ }
88
+ } ,
89
+ "root" : [
90
+ [
91
+ [
92
+ 2 ,
93
+ 4
94
+ ] ,
95
+ [
96
+ "../src/box.ts" ,
97
+ "../src/wrap.ts" ,
98
+ "../src/bug.js"
99
+ ]
100
+ ]
101
+ ] ,
102
+ "options" : {
103
+ "composite" : true ,
104
+ "outDir" : "./"
105
+ } ,
106
+ "referencedMap" : {
107
+ "../src/bug.js" : [
108
+ "../src/box.ts" ,
109
+ "../src/wrap.ts"
110
+ ]
111
+ } ,
112
+ "semanticDiagnosticsPerFile" : [
113
+ "../../../lib/lib.d.ts" ,
114
+ "../src/box.ts" ,
115
+ "../src/bug.js" ,
116
+ "../src/wrap.ts"
117
+ ] ,
118
+ "emitSignatures" : [
119
+ [
120
+ "../src/bug.js" ,
121
+ "1273570373-export const bug: W.Wrap<{\n n: B.Box<number>;\n}>;\nexport const something: 1;\nimport * as W from \"./wrap.js\";\n"
122
+ ]
123
+ ] ,
124
+ "latestChangedDtsFile" : "FakeFileName"
125
+ } ,
126
+ "version" : "FakeTSVersion"
127
+ }
0 commit comments