diff --git a/packages/builder-css-styles/blur/index.ts b/packages/builder-css-styles/blur/index.ts index 0a5eb3fc7..61bc8ce53 100644 --- a/packages/builder-css-styles/blur/index.ts +++ b/packages/builder-css-styles/blur/index.ts @@ -1,6 +1,6 @@ import { roundNumber } from "@reflect-ui/uiutils"; -export function blur(o?: number): string { +export function blur(o?: number): string | undefined { if (o === undefined) { return; } diff --git a/packages/builder-css-styles/border-radius/index.ts b/packages/builder-css-styles/border-radius/index.ts index a3d6508c3..b5ea9b17d 100644 --- a/packages/builder-css-styles/border-radius/index.ts +++ b/packages/builder-css-styles/border-radius/index.ts @@ -52,7 +52,7 @@ border-radius: unset; */ export function borderRadius( r: BorderRadiusManifest | undefined -): CSSProperties { +): CSSProperties | undefined { if (!r) { return; }