Skip to content

Commit 3ade524

Browse files
author
Adam
committed
Remove reundant type assertion
1 parent 0c5d2fa commit 3ade524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-notion-x/src/third-party/eval-formula.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function evalFunctionFormula(
375375
start: date2,
376376
end: date1
377377
}) as any
378-
)[unit] ?? (0 as number)
378+
)[unit] ?? 0
379379
)
380380
}
381381

0 commit comments

Comments
 (0)