From 6e6912bd796693f369f8054b5155528088779fe9 Mon Sep 17 00:00:00 2001 From: Brandon Chung Date: Thu, 14 May 2026 14:18:12 -0400 Subject: [PATCH] Widget typings --- widget-api-standalone.d.ts | 6 +++--- widget-api.d.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/widget-api-standalone.d.ts b/widget-api-standalone.d.ts index 61bfb85..4a91ae8 100644 --- a/widget-api-standalone.d.ts +++ b/widget-api-standalone.d.ts @@ -1222,7 +1222,7 @@ declare namespace WidgetJSX { */ color: Color | HexCode } - + interface ColorStop { position: number color: Color @@ -1399,9 +1399,9 @@ declare namespace WidgetJSX { * @see https://developers.figma.com/docs/widgets/api/type-StrokeCap */ type StrokeCap = 'none' | 'round' | 'square' | 'arrow-lines' | 'arrow-equilateral' - + type ScaleMode = 'fill' | 'fit' | 'tile' | 'crop' - + type Overflow = 'visible' | 'hidden' | 'scroll' interface TopConstraint { type: 'top' diff --git a/widget-api.d.ts b/widget-api.d.ts index 1d6c1e5..c8fb328 100644 --- a/widget-api.d.ts +++ b/widget-api.d.ts @@ -1218,7 +1218,7 @@ declare namespace WidgetJSX { */ color: Color | HexCode } - + interface ColorStop { position: number color: Color @@ -1395,9 +1395,9 @@ declare namespace WidgetJSX { * @see https://developers.figma.com/docs/widgets/api/type-StrokeCap */ type StrokeCap = 'none' | 'round' | 'square' | 'arrow-lines' | 'arrow-equilateral' - + type ScaleMode = 'fill' | 'fit' | 'tile' | 'crop' - + type Overflow = 'visible' | 'hidden' | 'scroll' interface TopConstraint { type: 'top'