mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
4ac7ce8bc9
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
/app/tsconfig.json(3,9): error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
|
Visit https://aka.ms/ts6 for migration information.
|
|
|
|
|
|
==== /app/tsconfig.json (1 errors) ====
|
|
{
|
|
"compilerOptions": {
|
|
"outDir": "bin",
|
|
~~~~~~~~
|
|
!!! error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
|
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
|
|
"sourceMap": true,
|
|
"mapRoot": "myMapRoot",
|
|
"sourceRoot": "mySourceRoot",
|
|
"declaration": true
|
|
}
|
|
}
|
|
|
|
==== /app/lib/bar.d.ts (0 errors) ====
|
|
declare const y: number;
|
|
|
|
==== /app/src/index.ts (0 errors) ====
|
|
/// <reference path="../lib/bar.d.ts" preserve="true" />
|
|
export const x = y;
|
|
|