@example warp the decorator does NOT work
imcuttle opened this issue · 3 comments
imcuttle commented
What version are you using?
v2.1.0
What JSDoc comment were you trying to parse?
/**
* @example
* class Model extends Root {
* @urlSync
* @observable sync = 'abc'
* }
* @public
*/
function urlSync () {...}
What Doctrine options were you using (sloppy, unwrap, etc.)?
{ unwrap: true }
What happened? Include output if possible.
- output
[ { title: 'example', description: 'class Model extends Root {' } ]
What did you expect to happen?
- output
[ { title: 'example', description: 'class Model extends Root { \n @urlSync .... }' } ]
not-an-aardvark commented
Thanks for creating an issue. Does JSDoc support this syntax?
Keep in mind that decorators are not part of ES6, and are still a stage 2 proposal. At the earliest, they will end up being part of ES2019 ("ES10").
jaydenseric commented
Duplicates #188?
kaicataldo commented
Thanks for this issue. We have decided to officially end-of-life JSDoc support in ESLint. As a result, this repository and project will no longer be maintained.
Thanks for understanding and we apologize for any inconvenience.