Skip to content

Commit

Permalink
nullchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Dec 17, 2023
1 parent f2f03b0 commit 5cb3350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/builder-css-styles/blur/index.ts
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-css-styles/border-radius/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ border-radius: unset;
*/
export function borderRadius(
r: BorderRadiusManifest | undefined
): CSSProperties {
): CSSProperties | undefined {
if (!r) {
return;
}
Expand Down

0 comments on commit 5cb3350

Please sign in to comment.