UNPKG

@feathersjs/feathers

Version:

A framework for real-time applications and REST API with JavaScript and TypeScript

5 lines (4 loc) 293 B
import { NextFunction } from '@feathersjs/hooks'; import { HookContext, FeathersService } from './declarations'; export declare function eventHook(context: HookContext, next: NextFunction): Promise<void>; export declare function eventMixin<A>(service: FeathersService<A>): FeathersService<A>;