@feathersjs/express
Version:
Feathers Express framework bindings and REST provider
10 lines (9 loc) • 402 B
TypeScript
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;