File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -2288,6 +2288,26 @@ function quux (foo) {
2288
2288
}
2289
2289
// Message: Missing JSDoc @returns declaration.
2290
2290
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
+
2291
2311
/**
2292
2312
*
2293
2313
*/
@@ -2315,6 +2335,29 @@ function quux () {
2315
2335
*/
2316
2336
function quux () {
2317
2337
}
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 ())
2318
2361
````
2319
2362
2320
2363
You can’t perform that action at this time.
0 commit comments