Skip to content

Commit 4e535f0

Browse files
committed
add note to function description
1 parent 6fc50f6 commit 4e535f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ type HostFunctions = {
1818
*/
1919
close: () => void;
2020
/**
21-
* Sets the height of the current dialog.
21+
* Sets the height of the current dialog. Doesn't work in sidebars.
2222
* @param height the new height, in pixels
2323
*/
2424
setHeight: (height: number) => void;
2525
/**
26-
* Sets the width of the current dialog.
26+
* Sets the width of the current dialog. Doesn't work in sidebars.
2727
* @param width the new width, in pixels
2828
*/
2929
setWidth: (width: number) => void;

0 commit comments

Comments
 (0)