Skip to content

Commit b3e71b5

Browse files
committed
chore: add Blob to internal type
1 parent d75536e commit b3e71b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/composables/usePhotoGallery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function usePhotoGallery() {
3737
})
3838

3939
const savePicture = async (photo: Photo, fileName: string): Promise<UserPhoto> => {
40-
let base64Data: string
40+
let base64Data: string | Blob
4141
// "hybrid" will detect Cordova or Capacitor;
4242
if (isPlatform('hybrid')) {
4343
const file = await Filesystem.readFile({

0 commit comments

Comments
 (0)