Merge pull request #7459 from bradacina/master

Fix showSaveDialog method signature
This commit is contained in:
Horiuchi_H
2016-01-05 11:41:08 +09:00

View File

@@ -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 .