Parameter | Description |
---|---|
derivedCtor | The class that you want to use as the composition class |
baseCtors | An array of classes to be added to the composition class |
There are three rules to bear in mind with mixins:
implements
keyword, not the extends
keyword when you write your composition classapplyMixins
with the correct arguments.