JSDoc code completion
Open
Inactive
type: bug
typescript
- Dominant language
- TypeScript
- Stars
- 19k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
I have a service like
```js
// app/service/user.js
const Service = require('egg').Service;
class UserService extends Service {
async find(uid) {
const user = await this.ctx.db.query('select * from user where uid = ?', uid);
return user;
}
}
module.exports = UserService;
```
How can I doc it using jsdoc , I want code completion in webstorm
```js
ctx.service.{code complete}
ctx.service.user.{code complete}
```
Second question , is there any eggjs stubs
Contributor guide
Assessment
This issue has not been assessed yet.