We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: 2.4.1
Code
import * as ts from "typescript/lib/tsserverlibrary"; let factory: ts.server.PluginModuleFactory;
Compiling the above code, a compilation error, error TS2304: Cannot find name 'Comparison', occurs.
error TS2304: Cannot find name 'Comparison'
And my tsconfig.json is the following : (It's just generated one by tsc --init)
tsc --init
{ "compilerOptions": { "target": "es5", "module": "commonjs", "strict": true } }
Expected behavior:
No compilation error.
Actual behavior:
tsc throws the following error:
node_modules/typescript/lib/tsserverlibrary.d.ts(3845,181): error TS2304: Cannot find name 'Comparison'.
TypeScript Version: 2.4.1
Code
Compiling the above code, a compilation error,
error TS2304: Cannot find name 'Comparison', occurs.And my tsconfig.json is the following :
(It's just generated one by
tsc --init){ "compilerOptions": { "target": "es5", "module": "commonjs", "strict": true } }Expected behavior:
No compilation error.
Actual behavior:
tsc throws the following error: