mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
492 lines
30 KiB
TypeScript
492 lines
30 KiB
TypeScript
currentDirectory::/user/username/projects/sample1
|
|
useCaseSensitiveFileNames::true
|
|
Input::
|
|
//// [/user/username/projects/sample1/core/anotherModule.ts] *new*
|
|
export const World = "hello";
|
|
//// [/user/username/projects/sample1/core/index.ts] *new*
|
|
export const someString: string = "HELLO WORLD";
|
|
export function leftPad(s: string, n: number) { return s + n; }
|
|
export function multiply(a: number, b: number) { return a * b; }
|
|
//// [/user/username/projects/sample1/core/some_decl.d.ts] *new*
|
|
declare const dts: any;
|
|
//// [/user/username/projects/sample1/core/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"skipDefaultLibCheck": true,
|
|
},
|
|
}
|
|
//// [/user/username/projects/sample1/logic/index.ts] *new*
|
|
import * as c from '../core/index';
|
|
export function getSecondsInDay() {
|
|
return c.muitply();
|
|
}
|
|
import * as mod from '../core/anotherModule';
|
|
export const m = mod;
|
|
//// [/user/username/projects/sample1/logic/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"skipDefaultLibCheck": true,
|
|
},
|
|
"references": [
|
|
{ "path": "../core" },
|
|
],
|
|
}
|
|
//// [/user/username/projects/sample1/tests/index.ts] *new*
|
|
import * as c from '../core/index';
|
|
import * as logic from '../logic/index';
|
|
|
|
c.leftPad("", 10);
|
|
logic.getSecondsInDay();
|
|
|
|
import * as mod from '../core/anotherModule';
|
|
export const m = mod;
|
|
//// [/user/username/projects/sample1/tests/tsconfig.json] *new*
|
|
{
|
|
"references": [
|
|
{ "path": "../core" },
|
|
{ "path": "../logic" },
|
|
],
|
|
"files": ["index.ts"],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"skipDefaultLibCheck": true,
|
|
},
|
|
}
|
|
|
|
tsgo --b tests --verbose
|
|
ExitStatus:: DiagnosticsPresent_OutputsGenerated
|
|
Output::
|
|
[[90mHH:MM:SS AM[0m] Projects in this build:
|
|
* core/tsconfig.json
|
|
* logic/tsconfig.json
|
|
* tests/tsconfig.json
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'core/tsconfig.json' is out of date because output file 'core/tsconfig.tsbuildinfo' does not exist
|
|
|
|
[[90mHH:MM:SS AM[0m] Building project 'core/tsconfig.json'...
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'logic/tsconfig.json' is out of date because output file 'logic/tsconfig.tsbuildinfo' does not exist
|
|
|
|
[[90mHH:MM:SS AM[0m] Building project 'logic/tsconfig.json'...
|
|
|
|
[96mlogic/index.ts[0m:[93m3[0m:[93m14[0m - [91merror[0m[90m TS2339: [0mProperty 'muitply' does not exist on type 'typeof import("/user/username/projects/sample1/core/index")'.
|
|
|
|
[7m3[0m return c.muitply();
|
|
[7m [0m [91m ~~~~~~~[0m
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'tests/tsconfig.json' is out of date because output file 'tests/tsconfig.tsbuildinfo' does not exist
|
|
|
|
[[90mHH:MM:SS AM[0m] Building project 'tests/tsconfig.json'...
|
|
|
|
|
|
Found 1 error in logic/index.ts[90m:3[0m
|
|
|
|
//// [/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; };
|
|
//// [/user/username/projects/sample1/core/anotherModule.d.ts] *new*
|
|
export declare const World = "hello";
|
|
//# sourceMappingURL=anotherModule.d.ts.map
|
|
//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] *new*
|
|
{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"}
|
|
//// [/user/username/projects/sample1/core/anotherModule.js] *new*
|
|
export const World = "hello";
|
|
|
|
//// [/user/username/projects/sample1/core/index.d.ts] *new*
|
|
export declare const someString: string;
|
|
export declare function leftPad(s: string, n: number): string;
|
|
export declare function multiply(a: number, b: number): number;
|
|
//# sourceMappingURL=index.d.ts.map
|
|
//// [/user/username/projects/sample1/core/index.d.ts.map] *new*
|
|
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"}
|
|
//// [/user/username/projects/sample1/core/index.js] *new*
|
|
export const someString = "HELLO WORLD";
|
|
export function leftPad(s, n) { return s + n; }
|
|
export function multiply(a, b) { return a * b; }
|
|
|
|
//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] *new*
|
|
{"version":"FakeTSVersion","root":[[2,4]],"fileNames":["lib.es2025.full.d.ts","./anotherModule.ts","./index.ts","./some_decl.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":"19cd44ed7278957051fca663f821c916-export const World = \"hello\";","signature":"5aad0de3e7b08bb6e110c7b97361b89e-export declare const World = \"hello\";\n","impliedNodeFormat":1},{"version":"2753a1085d587a7d57069e1105af24ec-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }","signature":"da642d80443e7ccd327091080a82a43c-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedNodeFormat":1},{"version":"6ceab83400a6167be2fb5feab881ded0-declare const dts: any;","affectsGlobalScope":true,"impliedNodeFormat":1}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"}
|
|
//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
|
|
{
|
|
"version": "FakeTSVersion",
|
|
"root": [
|
|
{
|
|
"files": [
|
|
"./anotherModule.ts",
|
|
"./index.ts",
|
|
"./some_decl.d.ts"
|
|
],
|
|
"original": [
|
|
2,
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"fileNames": [
|
|
"lib.es2025.full.d.ts",
|
|
"./anotherModule.ts",
|
|
"./index.ts",
|
|
"./some_decl.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": "./anotherModule.ts",
|
|
"version": "19cd44ed7278957051fca663f821c916-export const World = \"hello\";",
|
|
"signature": "5aad0de3e7b08bb6e110c7b97361b89e-export declare const World = \"hello\";\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "19cd44ed7278957051fca663f821c916-export const World = \"hello\";",
|
|
"signature": "5aad0de3e7b08bb6e110c7b97361b89e-export declare const World = \"hello\";\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
},
|
|
{
|
|
"fileName": "./index.ts",
|
|
"version": "2753a1085d587a7d57069e1105af24ec-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }",
|
|
"signature": "da642d80443e7ccd327091080a82a43c-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "2753a1085d587a7d57069e1105af24ec-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }",
|
|
"signature": "da642d80443e7ccd327091080a82a43c-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
},
|
|
{
|
|
"fileName": "./some_decl.d.ts",
|
|
"version": "6ceab83400a6167be2fb5feab881ded0-declare const dts: any;",
|
|
"signature": "6ceab83400a6167be2fb5feab881ded0-declare const dts: any;",
|
|
"affectsGlobalScope": true,
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "6ceab83400a6167be2fb5feab881ded0-declare const dts: any;",
|
|
"affectsGlobalScope": true,
|
|
"impliedNodeFormat": 1
|
|
}
|
|
}
|
|
],
|
|
"options": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"skipDefaultLibCheck": true
|
|
},
|
|
"latestChangedDtsFile": "./index.d.ts",
|
|
"size": 1830
|
|
}
|
|
//// [/user/username/projects/sample1/logic/index.d.ts] *new*
|
|
export declare function getSecondsInDay(): any;
|
|
import * as mod from '../core/anotherModule';
|
|
export declare const m: typeof mod;
|
|
|
|
//// [/user/username/projects/sample1/logic/index.js] *new*
|
|
import * as c from '../core/index';
|
|
export function getSecondsInDay() {
|
|
return c.muitply();
|
|
}
|
|
import * as mod from '../core/anotherModule';
|
|
export const m = mod;
|
|
//# sourceMappingURL=index.js.map
|
|
//// [/user/username/projects/sample1/logic/index.js.map] *new*
|
|
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,MAAM,UAAU,eAAe;IAC3B,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC;AACvB,CAAC;AACD,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC"}
|
|
//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] *new*
|
|
{"version":"FakeTSVersion","root":[4],"fileNames":["lib.es2025.full.d.ts","../core/index.d.ts","../core/anotherModule.d.ts","./index.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},"fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"4da0a6ee7d4a662685afc8fe143c994d-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;","signature":"07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedNodeFormat":1}],"fileIdsList":[[2,3]],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"pos":85,"end":92,"code":2339,"category":1,"messageKey":"Property_0_does_not_exist_on_type_1_2339","messageArgs":["muitply","typeof import(\"/user/username/projects/sample1/core/index\")"]}]]],"latestChangedDtsFile":"./index.d.ts"}
|
|
//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
|
|
{
|
|
"version": "FakeTSVersion",
|
|
"root": [
|
|
{
|
|
"files": [
|
|
"./index.ts"
|
|
],
|
|
"original": 4
|
|
}
|
|
],
|
|
"fileNames": [
|
|
"lib.es2025.full.d.ts",
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts",
|
|
"./index.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": "../core/index.d.ts",
|
|
"version": "fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map",
|
|
"signature": "fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "../core/anotherModule.d.ts",
|
|
"version": "5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",
|
|
"signature": "5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "./index.ts",
|
|
"version": "4da0a6ee7d4a662685afc8fe143c994d-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;",
|
|
"signature": "07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "4da0a6ee7d4a662685afc8fe143c994d-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;",
|
|
"signature": "07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
}
|
|
],
|
|
"fileIdsList": [
|
|
[
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts"
|
|
]
|
|
],
|
|
"options": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"skipDefaultLibCheck": true,
|
|
"sourceMap": true
|
|
},
|
|
"referencedMap": {
|
|
"./index.ts": [
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts"
|
|
]
|
|
},
|
|
"semanticDiagnosticsPerFile": [
|
|
[
|
|
"./index.ts",
|
|
[
|
|
{
|
|
"pos": 85,
|
|
"end": 92,
|
|
"code": 2339,
|
|
"category": 1,
|
|
"messageKey": "Property_0_does_not_exist_on_type_1_2339",
|
|
"messageArgs": [
|
|
"muitply",
|
|
"typeof import(\"/user/username/projects/sample1/core/index\")"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"latestChangedDtsFile": "./index.d.ts",
|
|
"size": 2109
|
|
}
|
|
//// [/user/username/projects/sample1/tests/index.d.ts] *new*
|
|
import * as mod from '../core/anotherModule';
|
|
export declare const m: typeof mod;
|
|
|
|
//// [/user/username/projects/sample1/tests/index.js] *new*
|
|
import * as c from '../core/index';
|
|
import * as logic from '../logic/index';
|
|
c.leftPad("", 10);
|
|
logic.getSecondsInDay();
|
|
import * as mod from '../core/anotherModule';
|
|
export const m = mod;
|
|
|
|
//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] *new*
|
|
{"version":"FakeTSVersion","root":[5],"fileNames":["lib.es2025.full.d.ts","../core/index.d.ts","../core/anotherModule.d.ts","../logic/index.d.ts","./index.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},"fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"7fa4162f733e6b9e7f7d9d9410e62f61-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;","signature":"4b3c99afe665034856f74c660f74d6fd-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedNodeFormat":1}],"fileIdsList":[[3],[2,3,4]],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"}
|
|
//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
|
|
{
|
|
"version": "FakeTSVersion",
|
|
"root": [
|
|
{
|
|
"files": [
|
|
"./index.ts"
|
|
],
|
|
"original": 5
|
|
}
|
|
],
|
|
"fileNames": [
|
|
"lib.es2025.full.d.ts",
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts",
|
|
"../logic/index.d.ts",
|
|
"./index.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": "../core/index.d.ts",
|
|
"version": "fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map",
|
|
"signature": "fc70810d80f598d415c6f21c113a400b-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "../core/anotherModule.d.ts",
|
|
"version": "5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",
|
|
"signature": "5ef600f6f6585506cfe942fc161e76c5-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "../logic/index.d.ts",
|
|
"version": "07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"signature": "07587a8dc02fb971c487c21dd8f4849b-export declare function getSecondsInDay(): any;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "./index.ts",
|
|
"version": "7fa4162f733e6b9e7f7d9d9410e62f61-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;",
|
|
"signature": "4b3c99afe665034856f74c660f74d6fd-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "7fa4162f733e6b9e7f7d9d9410e62f61-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;",
|
|
"signature": "4b3c99afe665034856f74c660f74d6fd-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
}
|
|
],
|
|
"fileIdsList": [
|
|
[
|
|
"../core/anotherModule.d.ts"
|
|
],
|
|
[
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts",
|
|
"../logic/index.d.ts"
|
|
]
|
|
],
|
|
"options": {
|
|
"composite": true,
|
|
"declaration": true,
|
|
"skipDefaultLibCheck": true
|
|
},
|
|
"referencedMap": {
|
|
"../logic/index.d.ts": [
|
|
"../core/anotherModule.d.ts"
|
|
],
|
|
"./index.ts": [
|
|
"../core/index.d.ts",
|
|
"../core/anotherModule.d.ts",
|
|
"../logic/index.d.ts"
|
|
]
|
|
},
|
|
"latestChangedDtsFile": "./index.d.ts",
|
|
"size": 2047
|
|
}
|
|
|
|
core/tsconfig.json::
|
|
SemanticDiagnostics::
|
|
*refresh* /home/src/tslibs/TS/Lib/lib.es2025.full.d.ts
|
|
*refresh* /user/username/projects/sample1/core/anotherModule.ts
|
|
*refresh* /user/username/projects/sample1/core/index.ts
|
|
*refresh* /user/username/projects/sample1/core/some_decl.d.ts
|
|
Signatures::
|
|
(stored at emit) /user/username/projects/sample1/core/anotherModule.ts
|
|
(stored at emit) /user/username/projects/sample1/core/index.ts
|
|
|
|
logic/tsconfig.json::
|
|
SemanticDiagnostics::
|
|
*refresh* /home/src/tslibs/TS/Lib/lib.es2025.full.d.ts
|
|
*refresh* /user/username/projects/sample1/core/index.d.ts
|
|
*refresh* /user/username/projects/sample1/core/anotherModule.d.ts
|
|
*refresh* /user/username/projects/sample1/logic/index.ts
|
|
Signatures::
|
|
(stored at emit) /user/username/projects/sample1/logic/index.ts
|
|
|
|
tests/tsconfig.json::
|
|
SemanticDiagnostics::
|
|
*refresh* /home/src/tslibs/TS/Lib/lib.es2025.full.d.ts
|
|
*refresh* /user/username/projects/sample1/core/index.d.ts
|
|
*refresh* /user/username/projects/sample1/core/anotherModule.d.ts
|
|
*refresh* /user/username/projects/sample1/logic/index.d.ts
|
|
*refresh* /user/username/projects/sample1/tests/index.ts
|
|
Signatures::
|
|
(stored at emit) /user/username/projects/sample1/tests/index.ts
|
|
|
|
|
|
Edit [0]:: no change
|
|
|
|
tsgo --b tests --verbose
|
|
ExitStatus:: DiagnosticsPresent_OutputsGenerated
|
|
Output::
|
|
[[90mHH:MM:SS AM[0m] Projects in this build:
|
|
* core/tsconfig.json
|
|
* logic/tsconfig.json
|
|
* tests/tsconfig.json
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'core/tsconfig.json' is up to date because newest input 'core/some_decl.d.ts' is older than output 'core/tsconfig.tsbuildinfo'
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'logic/tsconfig.json' is out of date because buildinfo file 'logic/tsconfig.tsbuildinfo' indicates that program needs to report errors.
|
|
|
|
[[90mHH:MM:SS AM[0m] Building project 'logic/tsconfig.json'...
|
|
|
|
[96mlogic/index.ts[0m:[93m3[0m:[93m14[0m - [91merror[0m[90m TS2339: [0mProperty 'muitply' does not exist on type 'typeof import("/user/username/projects/sample1/core/index")'.
|
|
|
|
[7m3[0m return c.muitply();
|
|
[7m [0m [91m ~~~~~~~[0m
|
|
|
|
[[90mHH:MM:SS AM[0m] Project 'tests/tsconfig.json' is up to date with .d.ts files from its dependencies
|
|
|
|
[[90mHH:MM:SS AM[0m] Updating output timestamps of project 'tests/tsconfig.json'...
|
|
|
|
|
|
Found 1 error in logic/index.ts[90m:3[0m
|
|
|
|
//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] *mTime changed*
|
|
|
|
logic/tsconfig.json::
|
|
SemanticDiagnostics::
|
|
Signatures::
|