miter
Version:
A typescript web framework based on ExpressJs based loosely on SailsJs
36 lines (35 loc) • 1.12 kB
TypeScript
import { Router as CoreRouter } from 'express-serve-static-core';
export declare class FakeExpressRouter {
constructor();
param(...args: any[]): this;
all(...args: any[]): this;
get(...args: any[]): this;
post(...args: any[]): this;
put(...args: any[]): this;
delete(...args: any[]): this;
patch(...args: any[]): this;
options(...args: any[]): this;
head(...args: any[]): this;
checkout(...args: any[]): this;
copy(...args: any[]): this;
lock(...args: any[]): this;
merge(...args: any[]): this;
mkactivity(...args: any[]): this;
mkcol(...args: any[]): this;
move(...args: any[]): this;
"m-search"(...args: any[]): this;
notify(...args: any[]): this;
purge(...args: any[]): this;
report(...args: any[]): this;
search(...args: any[]): this;
subscribe(...args: any[]): this;
trace(...args: any[]): this;
unlock(...args: any[]): this;
unsubscribe(...args: any[]): this;
}
export declare class FakeRouterService {
constructor();
start(): Promise<void>;
private _router;
readonly expressRouter: CoreRouter;
}