UNPKG

read-gedcom

Version:
13 lines (12 loc) 379 B
/** * A type representing an arbitrary function. */ export declare type AnyFunction<A = any> = (...input: any[]) => A; /** * A type representing an arbitrary constructor. */ export declare type AnyConstructor<T = {}> = new (...args: any[]) => T; /** * A type representing a mixin function. */ export declare type Mixin<T extends AnyFunction> = InstanceType<ReturnType<T>>;