Files
tsgo/testdata/baselines/reference/tsc/showConfig/Show-TSConfig-with-references.js
98677a673d Fix --showConfig to include files field (#3343)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-04-15 00:08:49 +00:00

40 lines
797 B
TypeScript

currentDirectory::/home/src/workspaces/project
useCaseSensitiveFileNames::true
Input::
//// [/home/src/workspaces/project/src/index.ts] *new*
export const a = 1;
//// [/home/src/workspaces/project/tsconfig.json] *new*
{
"compilerOptions": {
"composite": true,
"strict": true
},
"references": [
{ "path": "./packages/a" },
{ "path": "./packages/b" }
]
}
tsgo -p tsconfig.json --showConfig
ExitStatus:: Success
Output::
{
"compilerOptions": {
"composite": true,
"strict": true,
"declaration": true,
"incremental": true
},
"references": [
{
"path": "./packages/a"
},
{
"path": "./packages/b"
}
],
"files": [
"./src/index.ts"
]
}