From b7f554f1dc220b92b7e12712b9cf6119c28a4167 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 23 Jul 2019 23:51:22 -0700 Subject: [PATCH] docs: make setBounds take a Partial (#19416) --- docs/api/browser-window.md | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index ae0c96529f..95dc023032 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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. diff --git a/yarn.lock b/yarn.lock index 8b92261243..0c12db0072 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,9 +56,9 @@ pretty-ms "^5.0.0" "@electron/typescript-definitions@^8.3.5": - version "8.3.5" - resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.3.5.tgz#02bbeea578bf3ef44f57297ba9e101df57270dbd" - integrity sha512-kKxNdWmw+zy2ENECrDjNdzDTATezTQEHmx0OHccbb/JOuL/tLpQXlVEiieCVQ2XJ+SY3FHRuZCrBUo3VEyR2uA== + version "8.4.0" + resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.4.0.tgz#934b8b0b4433245794686f416398fc2503742f35" + integrity sha512-P+j99jjv7KD54p/nbrG3esPJzTq1fkK+MAuK+AnaU395Z6+5IRiXutLPFaO9i1idXg2Y3aknad0HKke4jQJB1Q== dependencies: "@electron/docs-parser" "^0.2.1" "@types/node" "^11.13.7"