UNPKG

@feathersjs/express

Version:

Feathers Express framework bindings and REST provider

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