@@ -4,8 +4,9 @@ exitCode:: ExitStatus.Success
44
55
66//// [/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+ } ;
910
1011
1112//// [/out/sub-project/index.js]
@@ -27,16 +28,15 @@ exports.m = common_1["default"];
2728 "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"
2829 } ,
2930 "../../src/common/obj.json" : {
30- "version" : "-6323167306-export declare const val: number;\r\n" ,
31- "signature" : "-6323167306-export declare const val: number;\r\n"
31+ "version" : "2151907832-{\n \"val\": 42\n}"
3232 } ,
3333 "../../src/common/index.ts" : {
3434 "version" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n" ,
3535 "signature" : "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"
3636 } ,
3737 "../../src/sub-project/index.js" : {
3838 "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" : "-12693309262 -export const m: { \r\n \"val\": number;\r\n} ;\r\n"
4040 }
4141 } ,
4242 "options" : {
@@ -53,15 +53,15 @@ exports.m = common_1["default"];
5353 } ,
5454 "referencedMap" : {
5555 "../../src/common/index.ts" : [
56- "../../src/common/obj.d.ts "
56+ "../../src/common/obj.json "
5757 ] ,
5858 "../../src/sub-project/index.js" : [
5959 "../../src/common/index.d.ts"
6060 ]
6161 } ,
6262 "exportedModulesMap" : {
6363 "../../src/common/index.ts" : [
64- "../../src/common/obj.d.ts "
64+ "../../src/common/obj.json "
6565 ]
6666 } ,
6767 "semanticDiagnosticsPerFile" : [
@@ -76,7 +76,9 @@ exports.m = common_1["default"];
7676
7777//// [/out/sub-project-2/index.d.ts]
7878export function getVar ( ) : {
79- key: typeof import ( "../common/obj.json" ) ;
79+ key: {
80+ "val" : number ;
81+ } ;
8082} ;
8183
8284
@@ -101,21 +103,13 @@ exports.getVar = getVar;
101103 "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" ,
102104 "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"
103105 } ,
104- "../../src/common/obj.json" : {
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.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- } ,
112106 "../../src/sub-project/index.js" : {
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" : "-12693309262 -export const m: { \r\n \"val\": number;\r\n} ;\r\n" ,
108+ "signature" : "-12693309262 -export const m: { \r\n \"val\": number;\r\n} ;\r\n"
115109 } ,
116110 "../../src/sub-project-2/index.js" : {
117111 "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" : "-11261617214 -export function getVar(): {\r\n key: {\r\n \"val\": number;\r\n } ;\r\n};\r\n"
119113 }
120114 } ,
121115 "options" : {
@@ -131,31 +125,13 @@ exports.getVar = getVar;
131125 "configFilePath" : "../../src/sub-project-2/tsconfig.json"
132126 } ,
133127 "referencedMap" : {
134- "../../src/common/index.ts" : [
135- "../../src/common/obj.d.ts"
136- ] ,
137128 "../../src/sub-project-2/index.js" : [
138129 "../sub-project/index.d.ts"
139- ] ,
140- "../../src/sub-project/index.js" : [
141- "../../src/common/index.d.ts"
142- ]
143- } ,
144- "exportedModulesMap" : {
145- "../../src/common/index.ts" : [
146- "../../src/common/obj.d.ts"
147- ] ,
148- "../../src/sub-project-2/index.js" : [
149- "../../src/common/obj.d.ts"
150- ] ,
151- "../../src/sub-project/index.js" : [
152- "../../src/common/index.d.ts"
153130 ]
154131 } ,
132+ "exportedModulesMap" : { } ,
155133 "semanticDiagnosticsPerFile" : [
156134 "../../lib/lib.d.ts" ,
157- "../../src/common/index.ts" ,
158- "../../src/common/obj.json" ,
159135 "../../src/sub-project-2/index.js" ,
160136 "../../src/sub-project/index.js"
161137 ]
@@ -174,10 +150,6 @@ var x = require("./obj.json");
174150module . exports = x ;
175151
176152
177- //// [/src/common/obj.d.ts]
178- export declare const val : number ;
179-
180-
181153//// [/src/common/tsconfig.tsbuildinfo]
182154{
183155 "program" : {
0 commit comments