Files
docs/node_modules/rfdc/index.d.ts
yinxue 9e1b8bdc9d
Some checks failed
CI Pipeline / build (push) Failing after 3m23s
first-commit
2025-08-27 14:05:33 +08:00

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;