diff --git a/packages/designto-token/detection/do-have-stretching.ts b/packages/designto-token/detection/do-have-stretching.ts index 18c5a707..94269930 100644 --- a/packages/designto-token/detection/do-have-stretching.ts +++ b/packages/designto-token/detection/do-have-stretching.ts @@ -1,5 +1,6 @@ import type { ReflectSceneNode } from "@design-sdk/figma-node"; -export function hasStretching(node: ReflectSceneNode) { +export function hasStretching(node: ReflectSceneNode): boolean { + // FIXME: this should reflect layoutGrow as well. return node.layoutAlign && node.layoutAlign === "STRETCH"; }