DEV Community

Discussion on: Things to watch for in TypeScript 4.2 onwards

Collapse
 
43081j profile image
James Garbutt

in that example it wouldn't be of much help, but IIRC there's ongoing work elsewhere to type constructor as typeof T. if it was, rather than Function, it would work in your example i think