DCFronted/node_modules/superjson/dist/class-registry.d.ts
zyb 0c0b5d869c 加入了node_modules
添加了新的功能项
2025-05-13 21:23:41 +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;
}