docs: remove string literal type from window events (#21235)

This commit is contained in:
Samuel Attard 2019-11-21 11:12:03 -08:00 committed by GitHub
parent 07b94ff578
commit 0cadf2846b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -517,7 +517,7 @@ Emitted when the window is restored from a minimized state.
Returns:
* `event` Event
* `newBounds` [`Rectangle`](structures/rectangle.md) - Size the window is being resized to.
* `newBounds` [Rectangle](structures/rectangle.md) - Size the window is being resized to.
Emitted before the window is resized. Calling `event.preventDefault()` will prevent the window from being resized.
@ -532,7 +532,7 @@ Emitted after the window has been resized.
Returns:
* `event` Event
* `newBounds` [`Rectangle`](structures/rectangle.md) - Location the window is being moved to.
* `newBounds` [Rectangle](structures/rectangle.md) - Location the window is being moved to.
Emitted before the window is moved. On Windows, calling `event.preventDefault()` will prevent the window from being moved.