You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeFoo<T>={[SinkeyofT]: T[S]}interfaceIFoo{new<T>(): Foo<T>;new<T>(): Foo<T>;// KO if removed}constFoo: IFoo=(class{constructor(){}})constfoo=newFoo();
Edit
I seems, the 2nd constructor is actually disabling a corect error, this following code work well.
Bug Report
π Search Terms
Generic Class Express, constructor
π Version & Regression Information
Tested on latest 4.8.4 & nightly
This has never worked.
β― Playground Link
Playground
π» Code
Edit
I seems, the 2nd constructor is actually disabling a corect error, this following code work well.
π Expected behavior
The text was updated successfully, but these errors were encountered: