Skip to content

Commit 78d9d3d

Browse files
committed
refactor: avoid generic Function type
1 parent 9083d3d commit 78d9d3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/checkParamNames.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ const validateParameterNames = (
315315
* idx: import('../iterateJsdoc.js').Integer
316316
* }[]} jsdocParameterNames
317317
* @param {import('comment-parser').Block} jsdoc
318-
* @param {Function} report
318+
* @param {import('../iterateJsdoc.js').Report} report
319319
* @returns {boolean}
320320
*/
321321
const validateParameterNamesDeep = (

src/rules/checkPropertyNames.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const validatePropertyNames = (
5151
* type: string;
5252
* }[]} jsdocPropertyNames
5353
* @param {import('comment-parser').Block} jsdoc
54-
* @param {Function} report
54+
* @param {import('../iterateJsdoc.js').Report} report
5555
*/
5656
const validatePropertyNamesDeep = (
5757
targetTagName,

0 commit comments

Comments
 (0)