Browse Source

fix: docs/api/dialog.md: fix typo (#18392)

Lucas Gabriel Schneider 5 years ago
parent
commit
72b1c01836
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/dialog.md

+ 1 - 1
docs/api/dialog.md

@@ -113,7 +113,7 @@ dialog.showOpenDialogSync(mainWindow, {
   * `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.
 * `callback` Function (optional)
 
-Returns `Promise<Object>` - Resolve wih an object containing the following:
+Returns `Promise<Object>` - Resolve with an object containing the following:
 
 * `canceled` Boolean - whether or not the dialog was canceled.
 * `filePaths` String[] (optional) - An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.