提交学习笔记专用
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.
 
 
 
 
 

12 lines
411 B

import { Registry } from './registry.cjs';
import { Class } from './types.cjs';
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;
}