mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
85 KiB
85 KiB
currentDirectory::/home/src/workspaces/project
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/project/a.ts] *new*
export const a = 10;const aLocal = 10;
//// [/home/src/workspaces/project/b.ts] *new*
export const b = 10;const bLocal = 10;
//// [/home/src/workspaces/project/c.ts] *new*
import { a } from "./a";export const c = a;
//// [/home/src/workspaces/project/d.ts] *new*
import { b } from "./b";export const d = b;
//// [/home/src/workspaces/project/tsconfig.json] *new*
{
"compilerOptions": {
"incremental": true
}
}
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/tslibs/TS/Lib/lib.es2025.full.d.ts] *Lib*
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interface Array<T> { length: number; [n: number]: T; }
interface ReadonlyArray<T> {}
interface SymbolConstructor {
(desc?: string | number): symbol;
for(name: string): symbol;
readonly toStringTag: symbol;
}
declare var Symbol: SymbolConstructor;
interface Symbol {
readonly [Symbol.toStringTag]: string;
}
declare const console: { log(msg: any): void; };
//// [/home/src/workspaces/project/a.js] *new*
export const a = 10;
const aLocal = 10;
//// [/home/src/workspaces/project/b.js] *new*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *new*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *new*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *new*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1263
}
tsconfig.json::
SemanticDiagnostics::
*refresh* /home/src/tslibs/TS/Lib/lib.es2025.full.d.ts
*refresh* /home/src/workspaces/project/a.ts
*refresh* /home/src/workspaces/project/b.ts
*refresh* /home/src/workspaces/project/c.ts
*refresh* /home/src/workspaces/project/d.ts
Signatures::
Edit [0]:: with sourceMap
tsgo --build --verbose --sourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 10;
//# sourceMappingURL=a.js.map
//// [/home/src/workspaces/project/a.js.map] *new*
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"}
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=b.js.map
//// [/home/src/workspaces/project/b.js.map] *new*
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"}
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=c.js.map
//// [/home/src/workspaces/project/c.js.map] *new*
{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"}
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=d.js.map
//// [/home/src/workspaces/project/d.js.map] *new*
{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"sourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1292
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [1]:: should re-emit only js so they dont contain sourcemap
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 10;
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1263
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [2]:: with declaration, emit Dts and should not emit js
tsgo --build --verbose --declaration
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *new*
export declare const a = 10;
//// [/home/src/workspaces/project/b.d.ts] *new*
export declare const b = 10;
//// [/home/src/workspaces/project/c.d.ts] *new*
export declare const c = 10;
//// [/home/src/workspaces/project/d.d.ts] *new*
export declare const d = 10;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1742
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
(stored at emit) /home/src/workspaces/project/a.ts
(stored at emit) /home/src/workspaces/project/b.ts
(stored at emit) /home/src/workspaces/project/c.ts
(stored at emit) /home/src/workspaces/project/d.ts
Edit [3]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *modified*
export declare const a = 10;
//# sourceMappingURL=a.d.ts.map
//// [/home/src/workspaces/project/a.d.ts.map] *new*
{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"}
//// [/home/src/workspaces/project/b.d.ts] *modified*
export declare const b = 10;
//# sourceMappingURL=b.d.ts.map
//// [/home/src/workspaces/project/b.d.ts.map] *new*
{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"}
//// [/home/src/workspaces/project/c.d.ts] *modified*
export declare const c = 10;
//# sourceMappingURL=c.d.ts.map
//// [/home/src/workspaces/project/c.d.ts.map] *new*
{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"}
//// [/home/src/workspaces/project/d.d.ts] *modified*
export declare const d = 10;
//# sourceMappingURL=d.d.ts.map
//// [/home/src/workspaces/project/d.d.ts.map] *new*
{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1764
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [4]:: no change
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'd.ts' is older than output 'tsconfig.tsbuildinfo'
Edit [5]:: local change
//// [/home/src/workspaces/project/a.ts] *modified*
export const a = 10;const aLocal = 100;
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'a.ts'
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1712
}
tsconfig.json::
SemanticDiagnostics::
*refresh* /home/src/workspaces/project/a.ts
Signatures::
(computed .d.ts) /home/src/workspaces/project/a.ts
Edit [6]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/a.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1765
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [7]:: no change
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output 'tsconfig.tsbuildinfo'
Edit [8]:: with inlineSourceMap
tsgo --build --verbose --inlineSourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ==
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ==
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"inlineSourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1747
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [9]:: with sourceMap
tsgo --build --verbose --sourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//# sourceMappingURL=a.js.map
//// [/home/src/workspaces/project/a.js.map] *modified*
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"}
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=b.js.map
//// [/home/src/workspaces/project/b.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=c.js.map
//// [/home/src/workspaces/project/c.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=d.js.map
//// [/home/src/workspaces/project/d.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"sourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1741
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [10]:: emit js files
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1712
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [11]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/a.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1765
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [12]:: with declaration and declarationMap, should not re-emit
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output 'tsconfig.tsbuildinfo'
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/project/a.ts] *new*
export const a = 10;const aLocal = 10;
//// [/home/src/workspaces/project/b.ts] *new*
export const b = 10;const bLocal = 10;
//// [/home/src/workspaces/project/c.ts] *new*
import { a } from "./a";export const c = a;
//// [/home/src/workspaces/project/d.ts] *new*
import { b } from "./b";export const d = b;
//// [/home/src/workspaces/project/tsconfig.json] *new*
{
"compilerOptions": {
"incremental": true
}
}
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/tslibs/TS/Lib/lib.es2025.full.d.ts] *Lib*
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interface Array<T> { length: number; [n: number]: T; }
interface ReadonlyArray<T> {}
interface SymbolConstructor {
(desc?: string | number): symbol;
for(name: string): symbol;
readonly toStringTag: symbol;
}
declare var Symbol: SymbolConstructor;
interface Symbol {
readonly [Symbol.toStringTag]: string;
}
declare const console: { log(msg: any): void; };
//// [/home/src/workspaces/project/a.js] *new*
export const a = 10;
const aLocal = 10;
//// [/home/src/workspaces/project/b.js] *new*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *new*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *new*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *new*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1263
}
tsconfig.json::
SemanticDiagnostics::
*refresh* /home/src/tslibs/TS/Lib/lib.es2025.full.d.ts
*refresh* /home/src/workspaces/project/a.ts
*refresh* /home/src/workspaces/project/b.ts
*refresh* /home/src/workspaces/project/c.ts
*refresh* /home/src/workspaces/project/d.ts
Signatures::
Edit [0]:: with sourceMap
tsgo --build --verbose --sourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 10;
//# sourceMappingURL=a.js.map
//// [/home/src/workspaces/project/a.js.map] *new*
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"}
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=b.js.map
//// [/home/src/workspaces/project/b.js.map] *new*
{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,EAAE,CAAC"}
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=c.js.map
//// [/home/src/workspaces/project/c.js.map] *new*
{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"}
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=d.js.map
//// [/home/src/workspaces/project/d.js.map] *new*
{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC"}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"sourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1292
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [1]:: should re-emit only js so they dont contain sourcemap
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 10;
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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},"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"impliedNodeFormat": "CommonJS"
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"impliedNodeFormat": "CommonJS"
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1263
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [2]:: with declaration, emit Dts and should not emit js
tsgo --build --verbose --declaration
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *new*
export declare const a = 10;
//// [/home/src/workspaces/project/b.d.ts] *new*
export declare const b = 10;
//// [/home/src/workspaces/project/c.d.ts] *new*
export declare const c = 10;
//// [/home/src/workspaces/project/d.d.ts] *new*
export declare const d = 10;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1742
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
(stored at emit) /home/src/workspaces/project/a.ts
(stored at emit) /home/src/workspaces/project/b.ts
(stored at emit) /home/src/workspaces/project/c.ts
(stored at emit) /home/src/workspaces/project/d.ts
Edit [3]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *modified*
export declare const a = 10;
//# sourceMappingURL=a.d.ts.map
//// [/home/src/workspaces/project/a.d.ts.map] *new*
{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"}
//// [/home/src/workspaces/project/b.d.ts] *modified*
export declare const b = 10;
//# sourceMappingURL=b.d.ts.map
//// [/home/src/workspaces/project/b.d.ts.map] *new*
{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"}
//// [/home/src/workspaces/project/c.d.ts] *modified*
export declare const c = 10;
//# sourceMappingURL=c.d.ts.map
//// [/home/src/workspaces/project/c.d.ts.map] *new*
{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"}
//// [/home/src/workspaces/project/d.d.ts] *modified*
export declare const d = 10;
//# sourceMappingURL=d.d.ts.map
//// [/home/src/workspaces/project/d.d.ts.map] *new*
{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "6f850043fadb2d6b35e16ae1adaad5a5-export const a = 10;const aLocal = 10;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1764
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [4]:: no change
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'd.ts' is older than output 'tsconfig.tsbuildinfo'
Edit [5]:: local change
//// [/home/src/workspaces/project/a.ts] *modified*
export const a = 10;const aLocal = 100;
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'a.ts'
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1712
}
tsconfig.json::
SemanticDiagnostics::
*refresh* /home/src/workspaces/project/a.ts
Signatures::
(computed .d.ts) /home/src/workspaces/project/a.ts
Edit [6]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/a.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1765
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [7]:: no change
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output 'tsconfig.tsbuildinfo'
Edit [8]:: with inlineSourceMap
tsgo --build --verbose --inlineSourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEdBQUcsQ0FBQyJ9
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUFBLE1BQU0sTUFBTSxHQUFHLEVBQUUsQ0FBQyJ9
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ==
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ==
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"inlineSourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"inlineSourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1747
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [9]:: with sourceMap
tsgo --build --verbose --sourceMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//# sourceMappingURL=a.js.map
//// [/home/src/workspaces/project/a.js.map] *modified*
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;AAAA,MAAM,MAAM,GAAG,GAAG,CAAC"}
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//# sourceMappingURL=b.js.map
//// [/home/src/workspaces/project/b.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//# sourceMappingURL=c.js.map
//// [/home/src/workspaces/project/c.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//# sourceMappingURL=d.js.map
//// [/home/src/workspaces/project/d.js.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"sourceMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"sourceMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1741
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [10]:: emit js files
tsgo --build --verbose
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.js] *modified*
export const a = 10;
const aLocal = 100;
//// [/home/src/workspaces/project/b.js] *modified*
export const b = 10;
const bLocal = 10;
//// [/home/src/workspaces/project/c.js] *modified*
import { a } from "./a";
export const c = a;
//// [/home/src/workspaces/project/d.js] *modified*
import { b } from "./b";
export const d = b;
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1712
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [11]:: with declaration and declarationMap
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is out of date because buildinfo file 'tsconfig.tsbuildinfo' indicates there is change in compilerOptions
[HH:MM:SS AM] Building project 'tsconfig.json'...
//// [/home/src/workspaces/project/a.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/a.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/b.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/c.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts] *rewrite with same content*
//// [/home/src/workspaces/project/d.d.ts.map] *rewrite with same content*
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo] *modified*
{"version":"FakeTSVersion","root":[[2,5]],"fileNames":["lib.es2025.full.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"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":"c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;","signature":"5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n","impliedNodeFormat":1},{"version":"bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;","signature":"eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n","impliedNodeFormat":1},{"version":"28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;","signature":"6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n","impliedNodeFormat":1},{"version":"b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;","signature":"3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n","impliedNodeFormat":1}],"fileIdsList":[[2],[3]],"options":{"declaration":true,"declarationMap":true},"referencedMap":[[4,1],[5,2]]}
//// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] *modified*
{
"version": "FakeTSVersion",
"root": [
{
"files": [
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"original": [
2,
5
]
}
],
"fileNames": [
"lib.es2025.full.d.ts",
"./a.ts",
"./b.ts",
"./c.ts",
"./d.ts"
],
"fileInfos": [
{
"fileName": "lib.es2025.full.d.ts",
"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; };",
"signature": "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": "CommonJS",
"original": {
"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
}
},
{
"fileName": "./a.ts",
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "c74d6b68e2cb0ed4cb8c18e3879119d9-export const a = 10;const aLocal = 100;",
"signature": "5d46ba05302682a2bc47daa29368141f-export declare const a = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./b.ts",
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "bf1b9c3562b043596607d537fbaf9814-export const b = 10;const bLocal = 10;",
"signature": "eaed5dafb4668e1b7c86b65b584b776a-export declare const b = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./c.ts",
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "28822e22fad7308e03af07d91b210c8f-import { a } from \"./a\";export const c = a;",
"signature": "6bc89426f721fe78f6ac43d3e4d9058f-export declare const c = 10;\n",
"impliedNodeFormat": 1
}
},
{
"fileName": "./d.ts",
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": "CommonJS",
"original": {
"version": "b392c90ba2c0413defc12f6bbf323140-import { b } from \"./b\";export const d = b;",
"signature": "3624f737ffc30774e872b3f5a7340537-export declare const d = 10;\n",
"impliedNodeFormat": 1
}
}
],
"fileIdsList": [
[
"./a.ts"
],
[
"./b.ts"
]
],
"options": {
"declaration": true,
"declarationMap": true
},
"referencedMap": {
"./c.ts": [
"./a.ts"
],
"./d.ts": [
"./b.ts"
]
},
"size": 1765
}
tsconfig.json::
SemanticDiagnostics::
Signatures::
Edit [12]:: with declaration and declarationMap, should not re-emit
tsgo --build --verbose --declaration --declarationMap
ExitStatus:: Success
Output::
[HH:MM:SS AM] Projects in this build:
* tsconfig.json
[HH:MM:SS AM] Project 'tsconfig.json' is up to date because newest input 'a.ts' is older than output 'tsconfig.tsbuildinfo'