Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overwrite option #137

Merged
merged 11 commits into from
Sep 17, 2021
Prev Previous commit
Next Next commit
Update index.d.ts
  • Loading branch information
sindresorhus committed Sep 17, 2021
commit 03b6f6e50d170eecf6c2c03584345fb6d28cafc4
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ declare namespace electronDl {
readonly showBadge?: boolean;

/**
Allows downloaded files to overwrite files with the same name in the directory they are saved to.
Otherwise, default behavior is to append a number to the file name.
Allow downloaded files to overwrite files with the same name in the directory they are saved to.

The default behavior is to append a number to the filename.

@default false
*/
Expand Down