Skip to content

Commit

Permalink
add type
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Mar 14, 2024
1 parent eb61a54 commit 9e7f666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/cropOrRotateImage/getSaveFormat.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 9e7f666

Please sign in to comment.