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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
in that example it wouldn't be of much help, but IIRC there's ongoing work elsewhere to type
constructor
astypeof T
. if it was, rather thanFunction
, it would work in your example i think