typescript-mix
typescript-mix copied to clipboard
Option to add the mixin under a namespace?
Is it possible to define the mixin under a different key space?
class Main {
@use(OtherClass, 'other') this;
}
such that
const m = new Main();
m.other.*
i guess this would be a breaking change, as the current syntax for @use() defines all parameters as the classes to be mixed in..
So one would need something like:
class Main {
@use( { OtherClass, 'other' }, {AnotherClass, 'another' } ) this;
}
again, this would be breaking as well