mbot/node_modules/ts-mixer/dist/esm/mixin-tracking.d.ts
2024-05-10 22:39:11 -07:00

5 lines
336 B
TypeScript

import { Class } from './types';
export declare const getMixinsForClass: (clazz: Class) => Function[] | undefined;
export declare const registerMixins: (mixedClass: any, constituents: Function[]) => WeakMap<any, Function[]>;
export declare const hasMixin: <M>(instance: any, mixin: abstract new (...args: any[]) => M) => instance is M;