Now,this Project Support decorator?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 773
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Unexpected token ILLEGAL error in zsh with the supplied ES7 class and decorator example. Trace how the parser handles @route() and verify that the example is accepted without the reported error; the issue does not name a source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100