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/project
useCaseSensitiveFileNames::false
Input::
//// [/home/src/workspaces/project/src/c.ts] *new*
/// <reference path="./D.ts"/>
//// [/home/src/workspaces/project/src/d.ts] *new*
declare class c { }
//// [/home/src/workspaces/project/tsconfig.json] *new*
{ }
tsgo
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
src/c.ts:1:22 - error TS1261: Already included file name '/home/src/workspaces/project/src/D.ts' differs from file name '/home/src/workspaces/project/src/d.ts' only in casing.
The file is in the program because:
Referenced via './D.ts' from file '/home/src/workspaces/project/src/c.ts'
Matched by default include pattern '**/*'
1 /// <reference path="./D.ts"/>
~~~~~~
Found 1 error in src/c.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/project/src/D.js] *new*
"use strict";
//// [/home/src/workspaces/project/src/c.js] *new*
"use strict";
/// <reference path="./D.ts"/>
useCaseSensitiveFileNames::false
Input::
//// [/home/src/workspaces/project/src/c.ts] *new*
/// <reference path="./D.ts"/>
//// [/home/src/workspaces/project/src/d.ts] *new*
declare class c { }
//// [/home/src/workspaces/project/tsconfig.json] *new*
{ }
tsgo
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
src/c.ts:1:22 - error TS1261: Already included file name '/home/src/workspaces/project/src/D.ts' differs from file name '/home/src/workspaces/project/src/d.ts' only in casing.
The file is in the program because:
Referenced via './D.ts' from file '/home/src/workspaces/project/src/c.ts'
Matched by default include pattern '**/*'
1 /// <reference path="./D.ts"/>
~~~~~~
Found 1 error in src/c.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/project/src/D.js] *new*
"use strict";
//// [/home/src/workspaces/project/src/c.js] *new*
"use strict";
/// <reference path="./D.ts"/>