Question: When we use a class as a type, only keys of that class should be allowed. Anyway, when assigning [Symbol()], [String()] or [Number()] as property key no error is given, allowing wrong properties to be assigned. One even more ...
Question: I have this declared class in some third party library that I can’t modify: And I want to customize it in this way with new class extending from that declaration: I am obviously getting an error that the type ...