1 | export declare class SampleAPI {
|
2 | blah: string;
|
3 | static staticFunc(what: string, // This will be retrieved as a string from the URL
|
4 | data: any, // The body will be parsed and sent back here
|
5 | req?: any, // Access the raw express.js request
|
6 | res?: any): Promise<any>;
|
7 | instanceFunc(what: string, // This will be retrieved as a string from the URL
|
8 | data: any, // The body will be parsed and sent back here
|
9 | req?: any, // Access the raw express.js request
|
10 | res?: any): Promise<any>;
|
11 | }
|