michaelolof / typescript-mix

A tweaked implementation of TypeScript's default applyMixins(...) idea using ES7 decorators
https://www.npmjs.com/package/typescript-mix
86 stars 8 forks source link

Extending base class properties are not defined #10

Open lekhmanrus opened 4 years ago

lekhmanrus commented 4 years ago

Suppose we have four classes: A. B, C and B0: class A { } class B0 { } class B extends B0 { } class C { @use(A, B) this; constructor() { A.call(this); B.call(this); } }

So, in this case getters/setters of B0 will be undefined for C.

See detailed example here: https://stackblitz.com/edit/typescript-utvbsh

bigdefidev commented 2 years ago

@lekhmanrus did you publish your own version with this fix? Running into this issue as well

lekhmanrus commented 2 years ago

Hi @bigdefidev, I published it on my work private registry, but not on the public. Looks like this repo is not maintained anymore.