Skip to content

Commit 72b1c01

Browse files
schneiderlcodebytere
authored andcommitted
fix: docs/api/dialog.md: fix typo (electron#18392)
1 parent 8f20059 commit 72b1c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/dialog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ dialog.showOpenDialogSync(mainWindow, {
113113
* `securityScopedBookmarks` Boolean (optional) _masOS_ _mas_ - Create [security scoped bookmarks](https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16) when packaged for the Mac App Store.
114114
* `callback` Function (optional)
115115

116-
Returns `Promise<Object>` - Resolve wih an object containing the following:
116+
Returns `Promise<Object>` - Resolve with an object containing the following:
117117

118118
* `canceled` Boolean - whether or not the dialog was canceled.
119119
* `filePaths` String[] (optional) - An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.

0 commit comments

Comments
 (0)