mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
1.5 KiB
1.5 KiB
currentDirectory::/home/src/workspaces/project
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/project/tsconfig.json] *new*
{
"files": ["./src/doesNotExist"]
}
tsgo -p ./tsconfig.json
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
error TS6231: Could not resolve the path '/home/src/workspaces/project/src/doesNotExist' with the extensions: '.ts', '.tsx', '.d.ts', '.cts', '.d.cts', '.mts', '.d.mts'.
The file is in the program because:
Part of 'files' list in tsconfig.json
tsconfig.json:2:31 - File is matched by 'files' list specified here.
2 "files": ["./src/doesNotExist"]
~~~~~~~~~~~~~~~~~~~~
Found 1 error.
//// [/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; };
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/project/tsconfig.json] *new*
{
"files": ["./src/doesNotExist"]
}
tsgo -p ./tsconfig.json
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
error TS6231: Could not resolve the path '/home/src/workspaces/project/src/doesNotExist' with the extensions: '.ts', '.tsx', '.d.ts', '.cts', '.d.cts', '.mts', '.d.mts'.
The file is in the program because:
Part of 'files' list in tsconfig.json
tsconfig.json:2:31 - File is matched by 'files' list specified here.
2 "files": ["./src/doesNotExist"]
~~~~~~~~~~~~~~~~~~~~
Found 1 error.
//// [/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; };