Add missing error argument in Session.cookies.remove callback

This commit is contained in:
Milan Burda committed 2016-03-30 19:13:30 +02:00
1 parent 4f6eb3eb85
commit f4c846d332
1 file changed
+1 -1
+1 -1
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