mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
github-electron: Add app.getLocale()
This commit is contained in:
4
github-electron/github-electron.d.ts
vendored
4
github-electron/github-electron.d.ts
vendored
@@ -1022,6 +1022,10 @@ declare module Electron {
|
||||
* name by Electron.
|
||||
*/
|
||||
getName(): string;
|
||||
/**
|
||||
* @returns The current application locale.
|
||||
**/
|
||||
getLocale(): string;
|
||||
/**
|
||||
* Resolves the proxy information for url, the callback would be called with
|
||||
* callback(proxy) when the request is done.
|
||||
|
||||
Reference in New Issue
Block a user