Switch to double quotes and reformat codebase with Biome
This commit is contained in:
@@ -4,7 +4,7 @@ const DEFAULT_ACTIVITY_FLUSH_INTERVAL_MS = 16;
|
||||
|
||||
export function scheduleAgentLastActivityFlush(
|
||||
callback: () => void,
|
||||
fallbackIntervalMs = DEFAULT_ACTIVITY_FLUSH_INTERVAL_MS
|
||||
fallbackIntervalMs = DEFAULT_ACTIVITY_FLUSH_INTERVAL_MS,
|
||||
): ActivityFlushHandle {
|
||||
if (typeof requestAnimationFrame === "function") {
|
||||
const handle = requestAnimationFrame(callback);
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
export type AgentLastActivityUpdates = Map<string, Date>;
|
||||
|
||||
export type AgentLastActivityCommitter = (
|
||||
updates: AgentLastActivityUpdates
|
||||
) => void;
|
||||
export type AgentLastActivityCommitter = (updates: AgentLastActivityUpdates) => void;
|
||||
|
||||
export interface ActivityFlushHandle {
|
||||
cancel: () => void;
|
||||
|
||||
Reference in New Issue
Block a user