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,8 +1,6 @@
import { getDesktopHost } from "@/desktop/host";
export type PickedImageSource =
| { kind: "file_uri"; uri: string }
| { kind: "blob"; blob: Blob };
export type PickedImageSource = { kind: "file_uri"; uri: string } | { kind: "blob"; blob: Blob };
export interface PickedImageAttachmentInput {
source: PickedImageSource;
@@ -48,7 +46,7 @@ async function blobFromUri(uri: string): Promise<Blob> {
}
export async function normalizePickedImageAssets(
assets: readonly ExpoImagePickerAssetLike[]
assets: readonly ExpoImagePickerAssetLike[],
): Promise<PickedImageAttachmentInput[]> {
return await Promise.all(
assets.map(async (asset) => {
@@ -73,7 +71,7 @@ export async function normalizePickedImageAssets(
mimeType: asset.mimeType ?? null,
fileName: asset.fileName ?? null,
};
})
}),
);
}