Closed
Description
TypeScript Version: 2.3.1 and 2.3.2
Code
tsconfig.json
:
{
"compilerOptions": {
"target": "es5",
"allowJs": true,
"outDir": "out",
"rootDir": "src"
}
}
src/test.js
:
someFunction(function(BaseClass) {
class Hello extends BaseClass {
constructor() {
this.foo = "bar";
}
}
});
Expected behavior:
To compile without errors
Actual behavior:
throws TypeError: Cannot read property 'kind' of undefined
TypeScript 2.3.0 does not have this problem but 2.3.1 and 2.3.2 does.