diff --git a/src/libs/cropOrRotateImage/getSaveFormat.ts b/src/libs/cropOrRotateImage/getSaveFormat.ts index 6d1ff280c5c5..0ea0b2ef6ffb 100644 --- a/src/libs/cropOrRotateImage/getSaveFormat.ts +++ b/src/libs/cropOrRotateImage/getSaveFormat.ts @@ -1,7 +1,7 @@ import {SaveFormat} from 'expo-image-manipulator'; import CONST from '@src/CONST'; -function getSaveFormat(type: string) { +function getSaveFormat(type: string): SaveFormat { switch (type) { case CONST.IMAGE_FILE_FORMAT.PNG: return SaveFormat.PNG;