@@ -4,8 +4,9 @@ exitCode:: ExitStatus.Success
4
4
5
5
6
6
//// [/out/sub-project/index.d.ts]
7
- export const m : typeof mod ;
8
- import mod from "../common" ;
7
+ export const m : {
8
+ val: number ;
9
+ } ;
9
10
10
11
11
12
//// [/out/sub-project/index.js]
@@ -26,17 +27,16 @@ exports.m = common_1["default"];
26
27
"version" : "-32082413277-/// <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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n" ,
27
28
"signature" : "-32082413277-/// <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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n"
28
29
} ,
29
- "../../src/common/obj.d.ts" : {
30
- "version" : "-6323167306-export declare const val: number;\r\n" ,
31
- "signature" : "-6323167306-export declare const val: number;\r\n"
30
+ "../../src/common/obj.json" : {
31
+ "version" : "2151907832-{\n \"val\": 42\n}"
32
32
} ,
33
33
"../../src/common/index.d.ts" : {
34
34
"version" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n" ,
35
35
"signature" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"
36
36
} ,
37
37
"../../src/sub-project/index.js" : {
38
38
"version" : "-14684157955-import mod from '../common';\n\nexport const m = mod;\n" ,
39
- "signature" : "-229957289 -export const m: typeof mod; \r\nimport mod from \"../common\" ;\r\n"
39
+ "signature" : "-15768184370 -export const m: { \r\n val: number;\r\n} ;\r\n"
40
40
}
41
41
} ,
42
42
"options" : {
@@ -53,21 +53,21 @@ exports.m = common_1["default"];
53
53
} ,
54
54
"referencedMap" : {
55
55
"../../src/common/index.d.ts" : [
56
- "../../src/common/obj.d.ts "
56
+ "../../src/common/obj.json "
57
57
] ,
58
58
"../../src/sub-project/index.js" : [
59
59
"../../src/common/index.d.ts"
60
60
]
61
61
} ,
62
62
"exportedModulesMap" : {
63
63
"../../src/common/index.d.ts" : [
64
- "../../src/common/obj.d.ts "
64
+ "../../src/common/obj.json "
65
65
]
66
66
} ,
67
67
"semanticDiagnosticsPerFile" : [
68
68
"../../lib/lib.d.ts" ,
69
69
"../../src/common/index.d.ts" ,
70
- "../../src/common/obj.d.ts " ,
70
+ "../../src/common/obj.json " ,
71
71
"../../src/sub-project/index.js"
72
72
]
73
73
} ,
@@ -76,7 +76,9 @@ exports.m = common_1["default"];
76
76
77
77
//// [/out/sub-project-2/index.d.ts]
78
78
export function getVar ( ) : {
79
- key: typeof import ( "../common/obj.json" ) ;
79
+ key: {
80
+ val: number ;
81
+ } ;
80
82
} ;
81
83
82
84
@@ -101,21 +103,13 @@ exports.getVar = getVar;
101
103
"version" : "-32082413277-/// <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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n" ,
102
104
"signature" : "-32082413277-/// <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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n"
103
105
} ,
104
- "../../src/common/obj.d.ts" : {
105
- "version" : "-6323167306-export declare const val: number;\r\n" ,
106
- "signature" : "-6323167306-export declare const val: number;\r\n"
107
- } ,
108
- "../../src/common/index.d.ts" : {
109
- "version" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n" ,
110
- "signature" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"
111
- } ,
112
106
"../sub-project/index.d.ts" : {
113
- "version" : "-229957289 -export const m: typeof mod; \r\nimport mod from \"../common\" ;\r\n" ,
114
- "signature" : "-229957289 -export const m: typeof mod; \r\nimport mod from \"../common\" ;\r\n"
107
+ "version" : "-15768184370 -export const m: { \r\n val: number;\r\n} ;\r\n" ,
108
+ "signature" : "-15768184370 -export const m: { \r\n val: number;\r\n} ;\r\n"
115
109
} ,
116
110
"../../src/sub-project-2/index.js" : {
117
111
"version" : "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n" ,
118
- "signature" : "-9206156860 -export function getVar(): {\r\n key: typeof import(\"../common/obj.json\") ;\r\n};\r\n"
112
+ "signature" : "-2686589794 -export function getVar(): {\r\n key: {\r\n val: number;\r\n } ;\r\n};\r\n"
119
113
}
120
114
} ,
121
115
"options" : {
@@ -131,31 +125,13 @@ exports.getVar = getVar;
131
125
"configFilePath" : "../../src/sub-project-2/tsconfig.json"
132
126
} ,
133
127
"referencedMap" : {
134
- "../../src/common/index.d.ts" : [
135
- "../../src/common/obj.d.ts"
136
- ] ,
137
128
"../../src/sub-project-2/index.js" : [
138
129
"../sub-project/index.d.ts"
139
- ] ,
140
- "../sub-project/index.d.ts" : [
141
- "../../src/common/index.d.ts"
142
- ]
143
- } ,
144
- "exportedModulesMap" : {
145
- "../../src/common/index.d.ts" : [
146
- "../../src/common/obj.d.ts"
147
- ] ,
148
- "../../src/sub-project-2/index.js" : [
149
- "../../src/common/obj.d.ts"
150
- ] ,
151
- "../sub-project/index.d.ts" : [
152
- "../../src/common/index.d.ts"
153
130
]
154
131
} ,
132
+ "exportedModulesMap" : { } ,
155
133
"semanticDiagnosticsPerFile" : [
156
134
"../../lib/lib.d.ts" ,
157
- "../../src/common/index.d.ts" ,
158
- "../../src/common/obj.d.ts" ,
159
135
"../../src/sub-project-2/index.js" ,
160
136
"../sub-project/index.d.ts"
161
137
]
@@ -174,10 +150,6 @@ var x = require("./obj.json");
174
150
module . exports = x ;
175
151
176
152
177
- //// [/src/common/obj.d.ts]
178
- export declare const val : number ;
179
-
180
-
181
153
//// [/src/common/tsconfig.tsbuildinfo]
182
154
{
183
155
"program" : {
0 commit comments