surrogate
Version:
Object method hooks made easy
10 lines (9 loc) • 432 B
TypeScript
import type { SurrogateHandlerTypes } from '../interfaces';
import type { OptionsHandler } from '../options';
import { BaseContainer } from './base';
import type { Which } from '../which';
export declare class SurrogateHandlerContainer<T extends object> extends BaseContainer<T> {
handler: SurrogateHandlerTypes<T>;
type: Which;
constructor(handler: SurrogateHandlerTypes<T>, type: Which, options: OptionsHandler<T>);
}