There was an error while loading. Please reload this page.
TypeScript Version: nightly
Code
class A {} const a: (typeof A) & {} = A; class B extends a {}
Expected behavior:
No error.
Actual behavior:
src/a.ts(3,17): error TS2507: Type 'typeof A & {}' is not a constructor function type
TypeScript Version: nightly
Code
Expected behavior:
No error.
Actual behavior: