From 781283dee018ba99e6ea1f4bc5ae2acf38e1b2d3 Mon Sep 17 00:00:00 2001 From: Ahmed Mostafa Date: Fri, 10 Feb 2023 01:02:44 +0200 Subject: [PATCH] Improve: Update TS types for `defaultSavedImageType` --- packages/react-filerobot-image-editor/src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-filerobot-image-editor/src/index.d.ts b/packages/react-filerobot-image-editor/src/index.d.ts index 0ddf7438..280a47a9 100644 --- a/packages/react-filerobot-image-editor/src/index.d.ts +++ b/packages/react-filerobot-image-editor/src/index.d.ts @@ -282,7 +282,7 @@ export interface FilerobotImageEditorConfig { onClose?: (closeReason: closingReasons, haveNotSavedChanges: boolean) => void; closeAfterSave?: boolean; defaultSavedImageName?: string; - defaultSavedImageType?: 'png' | 'jpeg' | 'webp'; + defaultSavedImageType?: 'png' | 'jpeg' | 'jpg' | 'webp'; forceToPngInEllipticalCrop?: boolean; useBackendTranslations?: boolean; translations?: object;