Note that MyClass is a class, not a type. So I would expect that TypeScript
catches that I am not return that class but a POJO.
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
Note that MyClass is a class, not a type. So I would expect that TypeScript
catches that I am not return that class but a POJO.