File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const noDocument = typeof document === "undefined";
2222
2323const { forEach } = Array . prototype ;
2424
25- // eslint-disable-next-line jsdoc/no-restricted-syntax
25+ /* eslint-disable jsdoc/reject-function-type */
2626/**
2727 * @param {Function } fn any function
2828 * @param {number } time time
@@ -47,6 +47,7 @@ function debounce(fn, time) {
4747 timeout = setTimeout ( functionCall , time ) ;
4848 } ;
4949}
50+ /* eslint-enable jsdoc/reject-function-type */
5051
5152/**
5253 * @returns {void }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const noDocument = typeof document === "undefined";
2222
2323const { forEach } = Array . prototype ;
2424
25- // eslint-disable-next-line jsdoc/no-restricted-syntax
25+ /* eslint-disable jsdoc/reject-function-type */
2626/**
2727 * @param {Function } fn any function
2828 * @param {number } time time
@@ -47,6 +47,7 @@ function debounce(fn, time) {
4747 timeout = setTimeout ( functionCall , time ) ;
4848 } ;
4949}
50+ /* eslint-enable jsdoc/reject-function-type */
5051
5152/**
5253 * @returns {void }
You can’t perform that action at this time.
0 commit comments