@datalayer/core
Version:
[](https://datalayer.io)
13 lines (12 loc) • 467 B
TypeScript
/**
* TypeScript mixin utilities for composing the DatalayerClient class.
* @module client/utils/mixins
*/
/** Type for a constructor function that can be used in mixins. */
export type Constructor<T = {}> = new (...args: any[]) => T;
/**
* Apply mixins to a base class.
* @param derivedCtor - The base class to extend
* @param constructors - Array of mixin classes to apply
*/
export declare function applyMixins(derivedCtor: any, constructors: any[]): void;