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])` #### `win.setBounds(bounds[, animate])`
* `bounds` [Rectangle](structures/rectangle.md) * `bounds` Partial<[Rectangle](structures/rectangle.md)>
* `animate` Boolean (optional) _macOS_ * `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. Resizes and moves the window to the supplied bounds. Any properties that are not supplied will default to their current values.

View file

@ -56,9 +56,9 @@
pretty-ms "^5.0.0" pretty-ms "^5.0.0"
"@electron/typescript-definitions@^8.3.5": "@electron/typescript-definitions@^8.3.5":
version "8.3.5" version "8.4.0"
resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.3.5.tgz#02bbeea578bf3ef44f57297ba9e101df57270dbd" resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.4.0.tgz#934b8b0b4433245794686f416398fc2503742f35"
integrity sha512-kKxNdWmw+zy2ENECrDjNdzDTATezTQEHmx0OHccbb/JOuL/tLpQXlVEiieCVQ2XJ+SY3FHRuZCrBUo3VEyR2uA== integrity sha512-P+j99jjv7KD54p/nbrG3esPJzTq1fkK+MAuK+AnaU395Z6+5IRiXutLPFaO9i1idXg2Y3aknad0HKke4jQJB1Q==
dependencies: dependencies:
"@electron/docs-parser" "^0.2.1" "@electron/docs-parser" "^0.2.1"
"@types/node" "^11.13.7" "@types/node" "^11.13.7"