mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
showOpenDialog returns string[]
The showOpenDialog() function returns string[] as per https://github.com/atom/electron/blob/master/docs/api/dialog.md
This commit is contained in:
Vendored
+2
-2
@@ -1157,11 +1157,11 @@ declare module GitHubElectron {
|
||||
browserWindow?: BrowserWindow,
|
||||
options?: OpenDialogOptions,
|
||||
callback?: (fileNames: string[]) => void
|
||||
): void;
|
||||
): string[];
|
||||
export function showOpenDialog(
|
||||
options?: OpenDialogOptions,
|
||||
callback?: (fileNames: string[]) => void
|
||||
): void;
|
||||
): string[];
|
||||
|
||||
interface OpenDialogOptions {
|
||||
title?: string;
|
||||
|
||||
Reference in New Issue
Block a user