Skip to content

Commit

Permalink
docs: Fix js doc's param mismatch for setSizeConstraints (#10342)
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master authored Jul 22, 2024
1 parent 8b3e6ec commit f153e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/api/src/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ class Window {
* await getCurrentWindow().setSizeConstraints({ minWidth: 300 });
* ```
*
* @param size The logical or physical inner size, or `null` to unset the constraint.
* @param constraints The logical or physical inner size, or `null` to unset the constraint.
* @returns A promise indicating the success or failure of the operation.
*/
async setSizeConstraints(
Expand Down

0 comments on commit f153e8b

Please sign in to comment.