docs: make setBounds take a Partial<Rectangle> (#19416)

This commit is contained in:
Samuel Attard 2019-07-23 23:51:22 -07:00 committed by GitHub
parent bb90a36701
commit b7f554f1dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -978,7 +978,7 @@ Closes the currently open [Quick Look][quick-look] panel.
#### `win.setBounds(bounds[, animate])`
* `bounds` [Rectangle](structures/rectangle.md)
* `bounds` Partial<[Rectangle](structures/rectangle.md)>
* `animate` Boolean (optional) _macOS_
Resizes and moves the window to the supplied bounds. Any properties that are not supplied will default to their current values.