Follow

ES6 class mixins in TypeScript: tsc cannot handle protected/ members when exporting declaration for an anonymous class. When you add a mapped type to strip non-public members, methods are changed to properties and thus cannot be overridden by the mixin 🤦‍♂️
github.com/microsoft/TypeScrip

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!