Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

nit: typescript undefined type

Sultand314690c5efd
diff --git a/app/shared/design-system/components/primitives/numeric-gesture-control.ts b/app/shared/design-system/components/primitives/numeric-gesture-control.ts
index 7fd010397c..ba71e5a8a4 100644
--- a/app/shared/design-system/components/primitives/numeric-gesture-control.ts
+++ b/app/shared/design-system/components/primitives/numeric-gesture-control.ts
@@ -30,7 +30,7 @@ type Options = {
type State = {
value: number;
- cursor: SVGElement | undefined;
+ cursor?: SVGElement;
offset: number;
velocity: number;
direction: string;