Skip to content

Commit

Permalink
chore: use imported type in Downloader constructor (#957)
Browse files Browse the repository at this point in the history
This is a types-only change. We were already importing the `BlobFilter`
type above, so let's use it!
  • Loading branch information
EvanHahn authored Nov 7, 2024
1 parent 9018bf9 commit 124c941
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 @@ -38,7 +38,7 @@ export class Downloader extends TypedEmitter {
/**
* @param {import('./index.js').THyperdriveIndex} driveIndex
* @param {object} [options]
* @param {import('../types.js').BlobFilter | null} [options.filter] Filter blobs of specific types and/or sizes to download
* @param {BlobFilter | null} [options.filter] Filter blobs of specific types and/or sizes to download
*/
constructor(driveIndex, { filter } = {}) {
super()
Expand Down

0 comments on commit 124c941

Please sign in to comment.