Replace all instances of JSDoc generic Function with detailed @callback definition (type-only changes).

This commit is contained in:
David Anson 2023-09-04 21:41:16 -07:00
parent 8bb97dadfe
commit 07f403173c
6 changed files with 199 additions and 38 deletions

View file

@ -15,7 +15,7 @@ const numericalSortCompareFn = (a, b) => a - b;
* Create a test function for the specified test file.
*
* @param {string} file Test file relative path.
* @returns {Function} Test function.
* @returns {import("ava").Implementation<unknown[]>} Test function.
*/
function createTestForFile(file) {
return (t) => (
@ -92,7 +92,6 @@ function createTestForFile(file) {
});
})
.catch()
.then(t.done)
);
}