Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Oct 5, 2023
1 parent 8788eb1 commit 99fdd44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ declare namespace electronDl {
}

/**
* Error thrown if `item.cancel()` was called.
Error thrown if `item.cancel()` was called.
*/
declare class CancelError extends Error {}

// eslint-disable-next-line no-redeclare
declare const electronDl: {
/**
* The error thrown when the user cancels the download item.
Error thrown if `item.cancel()` was called.
*/
CancelError: typeof CancelError;

Expand Down

0 comments on commit 99fdd44

Please sign in to comment.