4 ms·
I believe a form of mixins has already made it into TypeScript: https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Mixins.md https://github.com
by seanmcdirmid 11y ago
I believe a form of mixins has already made it into TypeScript:
https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Mixins.md https://github.com/Microsoft/TypeScript-Handbook/blob/master...
Still would prefer them to be more built-in.
- aikah 11y agoActually no, you still have to write a mixin builder function in your code. Typescript just supports declaring mixin types, it doesn't do the actual implementation.