Skip to content

Commit 9b185d8

Browse files
committed
docs: generate docs
1 parent 4bd096a commit 9b185d8

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,6 +2288,26 @@ function quux (foo) {
22882288
}
22892289
// Message: Missing JSDoc @returns declaration.
22902290

2291+
/**
2292+
*
2293+
*/
2294+
const foo = () => ({
2295+
bar: 'baz'
2296+
})
2297+
// Message: Missing JSDoc @returns declaration.
2298+
2299+
/**
2300+
*
2301+
*/
2302+
const foo = bar=>({ bar })
2303+
// Message: Missing JSDoc @returns declaration.
2304+
2305+
/**
2306+
*
2307+
*/
2308+
const foo = bar => bar.baz()
2309+
// Message: Missing JSDoc @returns declaration.
2310+
22912311
/**
22922312
*
22932313
*/
@@ -2315,6 +2335,29 @@ function quux () {
23152335
*/
23162336
function quux () {
23172337
}
2338+
2339+
/**
2340+
*
2341+
*/
2342+
function quux (bar) {
2343+
bar.filter(baz => {
2344+
return baz.corge();
2345+
})
2346+
}
2347+
2348+
/**
2349+
* @returns Array
2350+
*/
2351+
function quux (bar) {
2352+
return bar.filter(baz => {
2353+
return baz.corge();
2354+
})
2355+
}
2356+
2357+
/**
2358+
* @returns Array
2359+
*/
2360+
const quux = (bar) => bar.filter(({ corge }) => corge())
23182361
````
23192362

23202363

0 commit comments

Comments
 (0)