fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
8 lines • 341 B
TypeScript
import type { Constructor } from '../typedefs';
/***
* https://www.typescriptlang.org/docs/handbook/mixins.html#alternative-pattern
*/
export declare function applyMixins<T extends Constructor, S extends Constructor>(derivedCtor: T, constructors: S[]): T & {
prototype: InstanceType<T & S>;
};
//# sourceMappingURL=applyMixins.d.ts.map