Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ type EventEnvelope = {
export async function listenToDesktopEvent<TPayload>(
event: string,
handler: (payload: TPayload) => void
handler: (payload: TPayload) => void,
): Promise<DesktopEventUnlisten> {
const listen = getDesktopHost()?.events?.on;
if (typeof listen !== "function") {
+1 -1
View File
@@ -2,7 +2,7 @@ import { getDesktopHost } from "@/desktop/host";
export async function invokeDesktopCommand<T>(
command: string,
args?: Record<string, unknown>
args?: Record<string, unknown>,
): Promise<T> {
const invoke = getDesktopHost()?.invoke;
if (typeof invoke !== "function") {