Skip to content

Commit ca496d6

Browse files
test: fix
1 parent b0f2e8e commit ca496d6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

test/cases/hmr-locals/expected/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const noDocument = typeof document === "undefined";
2222

2323
const { 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}

test/cases/hmr/expected/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const noDocument = typeof document === "undefined";
2222

2323
const { 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}

0 commit comments

Comments
 (0)