UNPKG

@loopback/rest

Version:

Expose controllers as REST endpoints and route REST API requests to controller methods

10 lines (9 loc) 350 B
import { Context, Provider } from '@loopback/core'; import { Middleware } from '@loopback/express'; import { InvokeMethod } from '../types'; export declare class InvokeMethodProvider { static value(context: Context): InvokeMethod; } export declare class InvokeMethodMiddlewareProvider implements Provider<Middleware> { value(): Middleware; }