Closed
Description
Bug Report
π Search Terms
isolatedModules
π Version & Regression Information
This changed between versions 4.9.5 and 5.0.3
β― Playground Link
π» Code
tsconfig.json
{
"compilerOptions": {
"isolatedModules": true
}
}
index.ts
const a = 1;
isolatedModules option set 'true'
and this code has no export or import keyword
but any error not appear
π Actual behavior
it seems in 4.9.5 isolatedModules option work
but in 5.0.3 isolatedModules option not work
π Expected behavior
I think the error should occur in 5.0.3, just like 4.9.5