$ tsc --version
Version 4.0.0-dev.20200714
$ tsc --showconfig
{
"compilerOptions": {
"target": "es2018",
"strict": true,
"skipLibCheck": true
},
"files": [
"./test.ts"
]
}
This is only an issue on 4.0.0, this was not happening on 3.9.6
Search Terms:
empty export
Code
import type { foo } from './bar'
const a: foo = {};
// Test this by running tsc on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
Expected behavior:
output should be
Actual behavior:
Playground Link:
Related Issues: