mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-10-26 09:58:16 +03:00
docs: Fix js doc's param mismatch for setSizeConstraints (#10342)
This commit is contained in:
parent
8b3e6eccf4
commit
f153e8b0fe
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user