Files
tsgo/testdata/baselines/reference/tsc/extends/extends-config-with-non-string-files.js

20 lines
501 B
TypeScript

currentDirectory::/home/src/projects/project
useCaseSensitiveFileNames::true
Input::
//// [/home/src/projects/project/base.json] *new*
{
"files": [1],
}
//// [/home/src/projects/project/main.ts] *new*
export const x = 1;
//// [/home/src/projects/project/tsconfig.json] *new*
{
"extends": "./base.json",
}
tsgo -p tsconfig.json --pretty false
ExitStatus:: DiagnosticsPresent_OutputsGenerated
Output::
base.json(2,15): error TS5024: Compiler option 'files' requires a value of type string.