UNPKG

583 BTypeScriptView Raw
1/**
2 * Class behavior mixin based on:
3 * - http://raganwald.com/2015/06/26/decorators-in-es7.html
4 *
5 * Additionally only injects/overwrites properties in target, which are NOT
6 * marked with
7 * [`@nomixin`](https://docs.thi.ng/umbrella/api/functions/nomixin.html) (i.e.
8 * those which haven't set their `configurable` property descriptor flag to
9 * `false`)
10 *
11 * @param behaviour - to mixin
12 * @param sharedBehaviour -
13 * @returns decorator function
14 */
15export declare const mixin: (behaviour: any, sharedBehaviour?: any) => (clazz: any) => any;
16//# sourceMappingURL=mixin.d.ts.map
\No newline at end of file