cc038a7372
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
declare namespace rfdc {
|
|
interface Options {
|
|
proto?: boolean;
|
|
circles?: boolean;
|
|
constructorHandlers?: ConstructorHandlerConfig[];
|
|
}
|
|
}
|
|
type Constructor<T> = {new(...args: any[]): T};
|
|
type ConstructorHandlerConfig<T = any> = [Constructor<T>, (o: T) => T];
|
|
|
|
declare function rfdc(options?: rfdc.Options): <T>(input: T) => T;
|
|
|
|
export = rfdc;
|