mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
847 B
Plaintext
23 lines
847 B
Plaintext
error TS6059: File 'src1/main.ts' is not under 'rootDir' 'src2'. 'rootDir' is expected to contain all source files.
|
|
The file is in the program because:
|
|
Root file specified for compilation
|
|
tsconfig.json(8,5): error TS1005: ',' expected.
|
|
|
|
|
|
!!! error TS6059: File 'src1/main.ts' is not under 'rootDir' 'src2'. 'rootDir' is expected to contain all source files.
|
|
!!! error TS6059: The file is in the program because:
|
|
!!! error TS6059: Root file specified for compilation
|
|
==== tsconfig.json (1 errors) ====
|
|
{
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"strictNullChecks": true,
|
|
"stableTypeOrdering": true,
|
|
"rootDir": "./src2",
|
|
}
|
|
"include": ["src1/*"]
|
|
~~~~~~~~~
|
|
!!! error TS1005: ',' expected.
|
|
}
|
|
==== src1/main.ts (0 errors) ====
|
|
|