UNPKG

686 BTypeScriptView Raw
1export declare class Route {
2 static method(method: string, route: string, controller: string | {
3 new (): Object;
4 }, action: string): {};
5 static get(route: string, controller: string | {
6 new (): Object;
7 }, action: string): {};
8 static post(route: string, controller: string | {
9 new (): Object;
10 }, action: string): {};
11 static put(route: string, controller: string | {
12 new (): Object;
13 }, action: string): {};
14 static patch(route: string, controller: string | {
15 new (): Object;
16 }, action: string): {};
17 static delete(route: string, controller: string | {
18 new (): Object;
19 }, action: string): {};
20}