TypeScript/tests/cases/compiler/newAbstractInstance.ts
Herrington Darkholme 29d5e4dadd fix #18225, fix error message on abstract class instance (#18368)
* fix #18225, fix error message on abstract class instance

abstract class check should be inside constructor call

* add new test and accept baseline
2017-09-11 11:21:35 -07:00

4 lines
50 B
TypeScript

abstract class B { }
declare const b: B;
new b();