docs: replace @return with @returns (#6006)

The former is not understood by TSDoc.
This commit is contained in:
Jack Franklin
2020-06-12 11:38:24 +01:00
committed by GitHub
parent 23f18d8cc0
commit 8a099a0c2c
33 changed files with 98 additions and 88 deletions

View File

@@ -693,7 +693,7 @@ describe('request interception', function () {
/**
* @param {string} path
* @return {string}
* @returns {string}
*/
function pathToFileURL(path) {
let pathName = path.replace(/\\/g, '/');