@yubing744/rooch-sdk
Version:
8 lines (7 loc) • 440 B
TypeScript
/**
In TypeScript, we can’t inherit or extend from more than one class,
Mixins helps us to get around that by creating a partial classes
that we can combine to form a single class that contains all the methods and properties from the partial classes.
{@link https://www.typescriptlang.org/docs/handbook/mixins.html#alternative-pattern}
*/
export declare function applyMixin(targetClass: any, baseClass: any, baseClassProp: string): void;