diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 27590bf6c209..a3a18584e648 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -228,7 +228,7 @@ The `filters` specifies an array of file types that can be displayed, see **Note:** On macOS, using the asynchronous version is recommended to avoid issues when expanding and collapsing the dialog. -### `dialog.showMessageBoxSync([wndow, ]options)` +### `dialog.showMessageBoxSync([window, ]options)` * `window` [BaseWindow](base-window.md) (optional) * `options` Object