first commit
This commit is contained in:
12
node_modules/superjson/dist/class-registry.d.ts
generated
vendored
Normal file
12
node_modules/superjson/dist/class-registry.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user