@feathersjs/koa
Version:
Feathers KoaJS framework bindings and REST provider
13 lines (12 loc) • 548 B
TypeScript
import Koa from 'koa';
import { Application as FeathersApplication } from '@feathersjs/feathers';
import { koaBody as bodyParser } from 'koa-body';
import cors from '@koa/cors';
import serveStatic from 'koa-static';
import { Application } from './declarations';
export { Koa, bodyParser, cors, serveStatic };
export * from './authentication';
export * from './declarations';
export * from './handlers';
export * from './rest';
export declare function koa<S = any, C = any>(feathersApp?: FeathersApplication<S, C>, koaApp?: Koa): Application<S, C>;