1 | // import * as KoaRouter from 'koa-router';
|
2 | import logger from './logger';
|
3 |
|
4 | // const methods = ['get', 'post', 'patch', 'del', 'options', 'put']
|
5 |
|
6 | module.exports = class Blueprint {
|
7 |
|
8 | get(string: string) {
|
9 | return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {
|
10 | logger.blue({ target, propertyKey, descriptor })
|
11 | }
|
12 | }
|
13 | } |
\ | No newline at end of file |