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

13 lines
409 B
TypeScript

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;
}