mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Add missing error argument in Session.cookies.remove callback
This commit is contained in:
2
github-electron/github-electron.d.ts
vendored
2
github-electron/github-electron.d.ts
vendored
@@ -2669,7 +2669,7 @@ declare namespace Electron {
|
||||
/**
|
||||
* Removes the cookies matching url and name.
|
||||
*/
|
||||
remove(url: string, name: string, callback: Function): void;
|
||||
remove(url: string, name: string, callback: (error: Error) => void): void;
|
||||
}
|
||||
|
||||
// https://github.com/atom/electron/blob/master/docs/api/shell.md
|
||||
|
||||
Reference in New Issue
Block a user