Open FunctionRun opened 5 years ago
I defined a variable t , tsc show error, but roadhog dev success
// Type '9' is not assignable to type 'string'.ts(2322) const t: string = 9;
tsconfig.json
{ "compilerOptions": { "module": "es6", "outDir": "lib", "target": "es6", "noUnusedLocals": true, "noEmitOnError": true, "moduleResolution": "node", "jsx": "react", "noEmit": true, "checkJs": false }, "include": ["./src/**/*.ts"] }
how to make roadhog compile faild ?
Environment
I defined a variable t , tsc show error, but roadhog dev success
tsconfig.json
how to make roadhog compile faild ?