Skip to content

Commit c5ed343

Browse files
committed
infra(prefetch.mjs): add jsdoc for third-arg to prefetcher
1 parent ba74f11 commit c5ed343

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/prefetch.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const supportedPrefetchStrategy = support('prefetch')
9393
* Prefetch a given URL with an optional preferred fetch priority
9494
* @param {String} url - the URL to fetch
9595
* @param {Boolean} isPriority - if is "high" priority
96+
* @param {Object} conn - navigator.connection (internal)
9697
* @return {Object} a Promise
9798
*/
9899
function prefetcher(url, isPriority, conn) {

0 commit comments

Comments
 (0)