Add missing error argument in Session.cookies.remove callback

This commit is contained in:
Milan Burda
2016-03-27 20:42:15 +02:00
parent 4f6eb3eb85
commit f4c846d332

View File

@@ -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