Skip to content

Commit 4cb6099

Browse files
committed
fix: types
1 parent 24af200 commit 4cb6099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/BackgroundAnimation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ export function BackgroundAnimation() {
209209
)
210210
}
211211

212-
function cubicBezier(p1x, p1y, p2x, p2y) {
213-
return function (t) {
212+
function cubicBezier(p1x: number, p1y: number, p2x: number, p2y: number) {
213+
return function (t: number) {
214214
const cx = 3 * p1x
215215
const bx = 3 * (p2x - p1x) - cx
216216
const ax = 1 - cx - bx

0 commit comments

Comments
 (0)