surrogate
Version:
Object method hooks made easy
7 lines (6 loc) • 317 B
TypeScript
import { FetchRule } from '../interfaces';
import { Surrogate } from '../../../interfaces';
import { SurrogateProxy } from '../../handler';
export declare abstract class FetchRuleRunner {
static fetchRule<T extends object>(proxy: SurrogateProxy<T>, target: T, event: string, receiver: Surrogate<T>): FetchRule;
}