Open thecatshidog opened 5 years ago
hello,use this project in ES7,but not support decorator?
class OrderController { /** * @type methods */ @route() async submitOrder(ctx) { return await OrderService.submitOrder(ctx); }; }
report Unexpected token ILLEGAL on zsh
Unexpected token ILLEGAL
Decorators are currently a Stage 2 proposal: https://github.com/tc39/proposal-decorators
hello,use this project in ES7,but not support decorator?
report
Unexpected token ILLEGAL
on zsh