You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. declare namespace rfdc {
  2. interface Options {
  3. proto?: boolean;
  4. circles?: boolean;
  5. constructorHandlers?: ConstructorHandlerConfig[];
  6. }
  7. }
  8. type Constructor<T> = {new(...args: any[]): T};
  9. type ConstructorHandlerConfig<T = any> = [Constructor<T>, (o: T) => T];
  10. declare function rfdc(options?: rfdc.Options): <T>(input: T) => T;
  11. export = rfdc;