mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
1.7 KiB
1.7 KiB
currentDirectory::/home/src/workspaces/solution
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/solution/project/index.ts] *new*
import { x } from "../utils";
//// [/home/src/workspaces/solution/project/tsconfig.json] *new*
{
"references": [
{ "path": "../utils" },
],
}
//// [/home/src/workspaces/solution/utils/index.ts] *new*
export const x = 10;
//// [/home/src/workspaces/solution/utils/tsconfig.json] *new*
{
"compilerOptions": {
"composite": true
}
}
tsgo --p project
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
project/index.ts:1:19 - error TS6305: Output file '/home/src/workspaces/solution/utils/index.d.ts' has not been built from source file '/home/src/workspaces/solution/utils/index.ts'.
1 import { x } from "../utils";
~~~~~~~~~~
Found 1 error in project/index.ts:1
//// [/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/solution/project/index.js] *new*
export {};
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/solution/project/index.ts] *new*
import { x } from "../utils";
//// [/home/src/workspaces/solution/project/tsconfig.json] *new*
{
"references": [
{ "path": "../utils" },
],
}
//// [/home/src/workspaces/solution/utils/index.ts] *new*
export const x = 10;
//// [/home/src/workspaces/solution/utils/tsconfig.json] *new*
{
"compilerOptions": {
"composite": true
}
}
tsgo --p project
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
project/index.ts:1:19 - error TS6305: Output file '/home/src/workspaces/solution/utils/index.d.ts' has not been built from source file '/home/src/workspaces/solution/utils/index.ts'.
1 import { x } from "../utils";
~~~~~~~~~~
Found 1 error in project/index.ts:1
//// [/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/solution/project/index.js] *new*
export {};