File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"dependencies" : {
8
8
"comment-parser" : " ^0.5.1" ,
9
- "jsdoctypeparser" : " ^2.0.0-alpha-8 " ,
9
+ "jsdoctypeparser" : " 3.1.0 " ,
10
10
"lodash" : " ^4.17.11"
11
11
},
12
12
"description" : " JSDoc linting rules for ESLint." ,
58
58
"build" : " rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps" ,
59
59
"create-readme" : " gitdown ./.README/README.md --output-file ./README.md && npm run add-assertions" ,
60
60
"lint" : " eslint ./src ./test" ,
61
- "test" : " mocha --recursive --require @babel/register"
61
+ "test" : " mocha --recursive --require @babel/register --reporter progress "
62
62
},
63
63
"version" : " 1.0.0"
64
64
}
Original file line number Diff line number Diff line change @@ -157,6 +157,24 @@ export default {
157
157
function qux(foo) {
158
158
}
159
159
`
160
- }
160
+ } ,
161
+ {
162
+ code : `
163
+ /**
164
+ * @param {(x: number, y: string) => string} foo
165
+ */
166
+ function qux(foo) {
167
+ }
168
+ `
169
+ } ,
170
+ {
171
+ code : `
172
+ /**
173
+ * @param {() => string} foo
174
+ */
175
+ function qux(foo) {
176
+ }
177
+ `
178
+ } ,
161
179
]
162
180
} ;
You can’t perform that action at this time.
0 commit comments