@avonjs/avonjs
Version:
A fluent Node.js API generator.
11 lines (10 loc) • 440 B
TypeScript
import type { Args } from '../Contracts';
type AbstractMixable<T = {}> = abstract new (...args: Args) => T;
export declare const Mixins: <TBase extends AbstractMixable>(Parent: TBase) => (abstract new (...args: Args) => {
/**
* Store given model into the storage.
* We explicitly annotate `this` to refer to the instance type of `Test`.
*/
testRefer(): InstanceType<TBase> & TBase;
}) & TBase;
export default Mixins;