@@ -91,8 +91,17 @@ Output::
9191[ 7 m2 [ 0 m export = x ;
9292[ 7 m [ 0 m [ 91 m ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [ 0 m
9393
94+ [ 96 msub - project / index . js [ 0 m :[ 93 m1 [ 0 m :[ 93 m8 [ 0 m - [ 91 merror [ 0 m [ 90 m TS1192 : [ 0 mModule '"/home/src/workspaces/solution/common/index"' has no default export .
9495
95- Found 2 errors in the same file , starting at : common / index . ts [ 90 m :1 [ 0 m
96+ [ 7 m1 [ 0 m import mod from '../common' ;
97+ [ 7 m [ 0 m [ 91 m ~ ~ ~ [ 0 m
98+
99+
100+ Found 3 errors in 2 files .
101+
102+ Errors Files
103+ 2 common / index . ts [ 90 m :1 [ 0 m
104+ 1 sub - project / index . js [ 90 m :1 [ 0 m
96105
97106//// [/home/src/tslibs/TS/Lib/lib.es2025.full.d.ts] *Lib*
98107/// <reference no-default-lib="true"/>
@@ -119,9 +128,7 @@ interface Symbol {
119128declare const console : { log ( msg : any ) : void ; } ;
120129//// [/home/src/workspaces/out/sub-project-2/index.d.ts] *new*
121130export declare function getVar ( ) : {
122- key: {
123- val: number ;
124- } ;
131+ key: any ;
125132} ;
126133
127134//// [/home/src/workspaces/out/sub-project-2/index.js] *new*
@@ -134,7 +141,7 @@ export function getVar() {
134141}
135142
136143//// [/home/src/workspaces/out/sub-project-2/tsconfig.tsbuildinfo] *new*
137- { "version" :"FakeTSVersion" , "root" :[ 3 ] , "fileNames" :[ "lib.es2025.full.d.ts" , "../sub-project/index.d.ts" , "../../solution/sub-project-2/index.js" ] , "fileInfos" :[ { "version" :"8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedNodeFormat" :1 } , "b13b16e08eb0717669fa55818828b2cb-export declare const m: {\n val: number;\n};\n" , { "version" :"56ecb5738c72a131a1514873df723721-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}" , "signature" :"f6a0b1edad82fddabb5c98ad5da1660d-export declare function getVar(): {\n key: {\n val: number;\n };\n};\n" , "impliedNodeFormat" :1 } ] , "fileIdsList" :[ [ 2 ] ] , "options" :{ "allowJs" :true , "checkJs" :true , "composite" :true , "declaration" :true , "esModuleInterop" :true , "outDir" :".." , "rootDir" :"../../solution" , "skipLibCheck" :true } , "referencedMap" :[ [ 3 , 1 ] ] , "latestChangedDtsFile" :"./index.d.ts" }
144+ { "version" :"FakeTSVersion" , "root" :[ 3 ] , "fileNames" :[ "lib.es2025.full.d.ts" , "../sub-project/index.d.ts" , "../../solution/sub-project-2/index.js" ] , "fileInfos" :[ { "version" :"8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedNodeFormat" :1 } , "ce0233db1f3aabecabdb072a4f4c8d1e-export declare const m: any;\n" , { "version" :"56ecb5738c72a131a1514873df723721-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}" , "signature" :"cb28999e3dc9364c7b77f755d2449d70-export declare function getVar(): {\n key: any;\n};\n" , "impliedNodeFormat" :1 } ] , "fileIdsList" :[ [ 2 ] ] , "options" :{ "allowJs" :true , "checkJs" :true , "composite" :true , "declaration" :true , "esModuleInterop" :true , "outDir" :".." , "rootDir" :"../../solution" , "skipLibCheck" :true } , "referencedMap" :[ [ 3 , 1 ] ] , "latestChangedDtsFile" :"./index.d.ts" }
138145//// [/home/src/workspaces/out/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
139146{
140147 "version ": "FakeTSVersion ",
@@ -166,18 +173,18 @@ export function getVar() {
166173 } ,
167174 {
168175 "fileName" : "../sub-project/index.d.ts" ,
169- "version" : "b13b16e08eb0717669fa55818828b2cb -export declare const m: {\n val: number;\n} ;\n" ,
170- "signature" : "b13b16e08eb0717669fa55818828b2cb -export declare const m: {\n val: number;\n} ;\n" ,
176+ "version" : "ce0233db1f3aabecabdb072a4f4c8d1e -export declare const m: any ;\n" ,
177+ "signature" : "ce0233db1f3aabecabdb072a4f4c8d1e -export declare const m: any ;\n" ,
171178 "impliedNodeFormat" : "CommonJS"
172179 } ,
173180 {
174181 "fileName" : "../../solution/sub-project-2/index.js" ,
175182 "version" : "56ecb5738c72a131a1514873df723721-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}" ,
176- "signature" : "f6a0b1edad82fddabb5c98ad5da1660d -export declare function getVar(): {\n key: {\n val: number;\n } ;\n};\n" ,
183+ "signature" : "cb28999e3dc9364c7b77f755d2449d70 -export declare function getVar(): {\n key: any ;\n};\n" ,
177184 "impliedNodeFormat" : "CommonJS" ,
178185 "original" : {
179186 "version" : "56ecb5738c72a131a1514873df723721-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}" ,
180- "signature" : "f6a0b1edad82fddabb5c98ad5da1660d -export declare function getVar(): {\n key: {\n val: number;\n } ;\n};\n" ,
187+ "signature" : "cb28999e3dc9364c7b77f755d2449d70 -export declare function getVar(): {\n key: any ;\n};\n" ,
181188 "impliedNodeFormat" : 1
182189 }
183190 }
@@ -203,19 +210,17 @@ export function getVar() {
203210 ]
204211 } ,
205212 "latestChangedDtsFile" : ". / index . d . ts ",
206- "size" : 1592
213+ "size ": 1546
207214}
208215//// [/home/src/workspaces/out/sub-project/index.d.ts] *new*
209- export declare const m : {
210- val : number ;
211- } ;
216+ export declare const m : any ;
212217
213218//// [/home/src/workspaces/out/sub-project/index.js] *new*
214219import mod from '. . / common ';
215220export const m = mod ;
216221
217222//// [/home/src/workspaces/out/sub-project/tsconfig.tsbuildinfo] *new*
218- { "version" :"FakeTSVersion" , "root" :[ 4 ] , "fileNames" :[ "lib.es2025.full.d.ts" , "../../solution/common/obj.json" , "../../solution/common/index.d.ts" , "../../solution/sub-project/index.js" ] , "fileInfos" :[ { "version" :"8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedNodeFormat" :1 } , { "version" :"d47747c9a3b20f363d6de91e2bd8ed62-{\n \"val\": 42,\n}" } , "641f5162aeaa035322008b19df89c663-import x = require(\"./obj.json\");\nexport = x;\n" , { "version" :"4c69d0c670e9dc788b5e107f277aa8ab-import mod from '../common';\n\nexport const m = mod;" , "signature" :"b13b16e08eb0717669fa55818828b2cb-export declare const m: {\n val: number;\n};\n" , "impliedNodeFormat" :1 } ] , "fileIdsList" :[ [ 2 ] , [ 3 ] ] , "options" :{ "allowJs" :true , "checkJs" :true , "composite" :true , "declaration" :true , "esModuleInterop" :true , "outDir" :".." , "rootDir" :"../../solution" , "skipLibCheck" :true } , "referencedMap" :[ [ 3 , 1 ] , [ 4 , 2 ] ] , "latestChangedDtsFile" :"./index.d.ts" }
223+ { "version ":"FakeTSVersion ", "root ":[ 4 ] , "fileNames" :[ "lib.es2025.full.d.ts" , "../../solution/common/obj.json" , "../../solution/common/index.d.ts" , "../../solution/sub-project/index.js" ] , "fileInfos" :[ { "version" :"8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedNodeFormat" :1 } , { "version" :"d47747c9a3b20f363d6de91e2bd8ed62-{\n \"val\": 42,\n}" } , "641f5162aeaa035322008b19df89c663-import x = require(\"./obj.json\");\nexport = x;\n" , { "version" :"4c69d0c670e9dc788b5e107f277aa8ab-import mod from '../common';\n\nexport const m = mod;" , "signature" :"ce0233db1f3aabecabdb072a4f4c8d1e-export declare const m: any;\n" , "impliedNodeFormat" :1 } ] , "fileIdsList" :[ [ 2 ] , [ 3 ] ] , "options" :{ "allowJs" :true , "checkJs" :true , "composite" :true , "declaration" :true , "esModuleInterop" :true , "outDir" :".." , "rootDir" :"../../solution" , "skipLibCheck" :true } , "referencedMap" :[ [ 3 , 1 ] , [ 4 , 2 ] ] , "semanticDiagnosticsPerFile" :[ [ 4 , [ { "pos" :7 , "end" :10 , "code" :1192 , "category" :1 , "messageKey" :"Module_0_has_no_default_export_1192" , "messageArgs" :[ "\"/home/src/workspaces/solution/common/index\"" ] } ] ] ] , "latestChangedDtsFile" :"./index.d.ts" }
219224//// [/home/src/workspaces/out/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
220225{
221226 "version" : "FakeTSVersion" ,
@@ -264,11 +269,11 @@ export const m = mod;
264269 {
265270 "fileName" : "../../solution/sub-project/index.js" ,
266271 "version" : "4c69d0c670e9dc788b5e107f277aa8ab-import mod from '../common';\n\nexport const m = mod;" ,
267- "signature" : "b13b16e08eb0717669fa55818828b2cb -export declare const m: {\n val: number;\n} ;\n" ,
272+ "signature" : "ce0233db1f3aabecabdb072a4f4c8d1e -export declare const m: any ;\n" ,
268273 "impliedNodeFormat" : "CommonJS" ,
269274 "original" : {
270275 "version" : "4c69d0c670e9dc788b5e107f277aa8ab-import mod from '../common';\n\nexport const m = mod;" ,
271- "signature" : "b13b16e08eb0717669fa55818828b2cb -export declare const m: {\n val: number;\n} ;\n" ,
276+ "signature" : "ce0233db1f3aabecabdb072a4f4c8d1e -export declare const m: any ;\n" ,
272277 "impliedNodeFormat" : 1
273278 }
274279 }
@@ -299,8 +304,25 @@ export const m = mod;
299304 "../../solution/common/index.d.ts"
300305 ]
301306 } ,
307+ "semanticDiagnosticsPerFile" : [
308+ [
309+ "../../solution/sub-project/index.js" ,
310+ [
311+ {
312+ "pos" : 7 ,
313+ "end" : 10 ,
314+ "code" : 1192 ,
315+ "category" : 1 ,
316+ "messageKey" : "Module_0_has_no_default_export_1192" ,
317+ "messageArgs" : [
318+ "\"/home/src/workspaces/solution/common/index\""
319+ ]
320+ }
321+ ]
322+ ]
323+ ] ,
302324 "latestChangedDtsFile" : "./index.d.ts" ,
303- "size" : 1595
325+ "size" : 1773
304326}
305327//// [/home/src/workspaces/solution/common/index.d.ts] *new*
306328import x = require ( "./obj.json" ) ;
0 commit comments