mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Replace all instances of JSDoc generic Function with detailed @callback definition (type-only changes).
This commit is contained in:
parent
8bb97dadfe
commit
07f403173c
6 changed files with 199 additions and 38 deletions
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue