type(electron): fix eletron$app typedefs

This commit is contained in:
George Lima 2019-02-14 19:18:37 -03:00
parent 69fd24149a
commit 95ddea5ff8
1 changed files with 3 additions and 2 deletions

View File

@ -118,10 +118,11 @@ type electron$app = {
getName(): string,
setName(name: string): void,
getLocale(): string,
makeSingleInstance(callback: (argv: Array<string>, workingDirectory: string) => void): boolean,
requestSingleInstanceLock(): boolean,
setAsDefaultProtocolClient(schema: string): void,
releaseSingleInstance(): void,
disableHardwareAcceleration(): void,
on(event: string, callback: () => any): void,
on(event: string, callback: Function): void,
};
/**