Skip to content

The agent that grows with you

style(desktop): wrap the rafCoalesce return type the way prettier wants

kshitijk4poor0c630dba35b1
diff --git a/apps/desktop/src/lib/raf-coalesce.ts b/apps/desktop/src/lib/raf-coalesce.ts
index 1ef42a3ef84..0f581f44a73 100644
--- a/apps/desktop/src/lib/raf-coalesce.ts
+++ b/apps/desktop/src/lib/raf-coalesce.ts
@@ -4,7 +4,11 @@
* last value and cancels any pending frame (call it on pointerup/cancel);
* `cancel` drops the pending value without applying it (unmount teardown).
* `null` is the empty sentinel, so `T` must never legitimately be `null`. */
-export function rafCoalesce<T>(apply: (value: T) => void): { cancel: () => void; finish: () => void; push: (value: T) => void } {
+export function rafCoalesce<T>(apply: (value: T) => void): {
+ cancel: () => void
+ finish: () => void
+ push: (value: T) => void
+} {
let frame: null | number = null
let pending: null | T = null