Files
tsgo/testdata/baselines/reference/config/tsconfigParsing/generates errors when include is not string with jsonSourceFile api.js

732 B

Fs::
//// [/apath/a.ts]
 
 
//// [/apath/tsconfig.json]
{
"include": [
[
"./**/*.ts"
]
]
}
 
 
configFileName:: /apath/tsconfig.json
CompilerOptions::
{
"configFilePath": "/apath/tsconfig.json"
}
 
TypeAcquisition::
{}
 
FileNames::
 
Errors::
tsconfig.json:3:5 - error TS5024: Compiler option 'include' requires a value of type string.
 
3 [
~
4 "./**/*.ts"
~~~~~~~~~~~~~~~~~
5 ]
~~~~~
 
error TS18003: No inputs were found in config file '/apath/tsconfig.json'. Specified 'include' paths were '[["./**/*.ts"]]' and 'exclude' paths were '[]'.