mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Merge pull request #7459 from bradacina/master
Fix showSaveDialog method signature
This commit is contained in:
8
github-electron/github-electron.d.ts
vendored
8
github-electron/github-electron.d.ts
vendored
@@ -1193,8 +1193,12 @@ declare module GitHubElectron {
|
||||
/**
|
||||
* File types that can be displayed, see dialog.showOpenDialog for an example.
|
||||
*/
|
||||
filters?: string[];
|
||||
}, callback?: (fileName: string) => void): void;
|
||||
|
||||
filters?: {
|
||||
name: string;
|
||||
extensions: string[];
|
||||
}[]
|
||||
}, callback?: (fileName: string) => void): string;
|
||||
|
||||
/**
|
||||
* Shows a message box. It will block until the message box is closed. It returns .
|
||||
|
||||
Reference in New Issue
Block a user