diff --git a/website/docs/reference/runtime/window.mdx b/website/docs/reference/runtime/window.mdx
index f23f4febb5c..625cd5e448d 100644
--- a/website/docs/reference/runtime/window.mdx
+++ b/website/docs/reference/runtime/window.mdx
@@ -124,7 +124,7 @@ JS: `WindowSetSize(width: number, height: number)`
Gets the width and height of the window.
Go: `WindowGetSize(ctx context.Context) (width int, height int)`
-JS: `WindowGetSize(): Promize`
+JS: `WindowGetSize(): Promise`
### WindowSetMinSize