Files
JiboViteDocs/node_modules/superjson/dist/class-registry.d.ts

13 lines
409 B
TypeScript
Raw Normal View History

2026-05-03 12:12:57 -04:00
import { Registry } from './registry.js';
import { Class } from './types.js';
export interface RegisterOptions {
identifier?: string;
allowProps?: string[];
}
export declare class ClassRegistry extends Registry<Class> {
constructor();
private classToAllowedProps;
register(value: Class, options?: string | RegisterOptions): void;
getAllowedProps(value: Class): string[] | undefined;
}