@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
14 lines (11 loc) • 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;