UNPKG

surrogate

Version:

Object method hooks made easy

11 lines (10 loc) 534 B
import type { ContextController } from '../context'; import type { HandlerContainer } from '../../containers'; import type { SurrogateProxy } from '../../proxy'; import type { INext } from '../interfaces'; import type { Which } from '../../which'; import { FinalNext } from './finalNext'; export declare class PreMethodNext<T extends object> extends FinalNext<T> implements INext { constructor(controller: ContextController<T>, proxy: SurrogateProxy<T>, container: HandlerContainer<T>, hookType: Which); handleNext(): void; }