UNPKG

524 BTypeScriptView Raw
1/**
2 * Class behavior mixin based on:
3 * {@link 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 `@nomixin` (i.e. those which haven't set their `configurable`
7 * property descriptor flag to `false`)
8 *
9 * @param behaviour - to mixin
10 * @param sharedBehaviour -
11 * @returns decorator function
12 */
13export declare const mixin: (behaviour: any, sharedBehaviour?: any) => (clazz: any) => any;
14//# sourceMappingURL=mixin.d.ts.map
\No newline at end of file