UNPKG

@feathersjs/koa

Version:

Feathers KoaJS framework bindings and REST provider

9 lines (8 loc) 360 B
import { Application, Middleware } from './declarations'; import { AuthenticationSettings } from './authentication'; export declare const formatter: Middleware; export type RestOptions = { formatter?: Middleware; authentication?: AuthenticationSettings; }; export declare const rest: (options?: RestOptions | Middleware) => (app: Application) => void;