Closed
Description
TypeScript Version: 3.8.0-20200104
Search Terms:
Code
// @filename: tsconfig.json
{ "compilerOptions": { "incremental": true } }
// @filename: a.ts
export class C {}
// @filename: b.ts
import {C} from './a';
export let v: C;
- compile
- set
"importsNotUsedAsValue": "error"
in tsconfig.json - recompile
Expected behavior:
Expected error in b.ts
Actual behavior:
No error in b.ts
unless the file or one of its dependencies are touched.
Related Issues: #35200 @andrewbranch
PR incoming.