Changeset View
Changeset View
Standalone View
Standalone View
desktop/flow-typed/npm/electron_v22.0.0.js
Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | declare class AutoUpdater { | ||||
): void; | ): void; | ||||
removeListener<T: $Keys<AutoUpdaterEvents>>( | removeListener<T: $Keys<AutoUpdaterEvents>>( | ||||
event: T, | event: T, | ||||
listener: $ElementType<AutoUpdaterEvents, T>, | listener: $ElementType<AutoUpdaterEvents, T>, | ||||
): void; | ): void; | ||||
} | } | ||||
declare type AutoUpdaterEvents = { | declare type AutoUpdaterEvents = { | ||||
'error': Error => void, | |||||
'checking-for-update': () => void, | 'checking-for-update': () => void, | ||||
'update-available': () => void, | 'update-available': () => void, | ||||
'update-not-available': () => void, | 'update-not-available': () => void, | ||||
'update-downloaded': ( | 'update-downloaded': ( | ||||
event: Event, | event: Event, | ||||
releaseNotes?: string, | releaseNotes?: string, | ||||
releaseName: string, | releaseName: string, | ||||
releaseDate?: Date, | releaseDate?: Date, | ||||
▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines |