read-gedcom
Version:
Gedcom file reader
13 lines (12 loc) • 379 B
TypeScript
/**
* 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>>;