slimp/node_modules/ts-mixer/dist/esm/mixin-tracking.d.ts

5 lines
332 B
TypeScript
Raw Normal View History

2023-06-12 11:40:38 -04:00
import { Class } from './types';
export declare const getMixinsForClass: (clazz: Class) => Function[] | undefined;
export declare const registerMixins: (mixedClass: any, constituents: Function[]) => Map<any, Function[]>;
export declare const hasMixin: <M>(instance: any, mixin: abstract new (...args: any[]) => M) => instance is M;