diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index 1587a8420f..ee223e5cd3 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -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