I have the following tsconfig.json file
{
"compilerOptions": {
"noImplicitAny": true,
"target": "es5"
}
}
And single TypeScript file src/app/pages/details/testts.ts:
let x = 5;
When I run tsc from the folder where tsconfig.json placed I get this diagnostics:
D:\Workspaces\MyProject\client>tsc src/app/pages/details/testts.ts --diagnostics
Files: 2
Lines: 19005
Nodes: 95663
Identifiers: 35490
Symbols: 94717
Types: 12063
Memory used: 92569K
I/O read: 0.00s
I/O write: 0.00s
Parse time: 0.35s
Bind time: 0.17s
Check time: 1.58s
Emit time: 0.03s
Total time: 2.12s
It says I have compiled two files with 19005 lines in total for 2.12s! I believe I have one file and one line in it. What has went wrong?