Skip to content

Commit

Permalink
Add a type for error
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Nov 4, 2024
1 parent a79a0cc commit f0ab997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blob-store/downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class Downloader extends TypedEmitter {
this.#ac.abort()
}

/** @param {any} error */
/** @param {Error} error */
#handleError = (error) => {
if (this.#ac.signal.aborted) return
this.emit('error', error)
Expand Down

0 comments on commit f0ab997

Please sign in to comment.