@inntechcorp/it-design 3.1.10 → 3.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,8 +16,7 @@ export declare enum ModalState {
16
16
  export declare enum FileTypes {
17
17
  SVG = "image/svg+xml",
18
18
  PNG = "image/png",
19
- JPG = "image/jpeg",// Note: image/jpeg is the standard MIME type for both .jpg and .jpeg files
20
- JPEG = "image/jpeg",// Alias for JPG - same format, kept for backward compatibility
19
+ JPG = "image/jpeg",
21
20
  GIF = "image/gif",
22
21
  WEBP = "image/webp",
23
22
  PDF = "application/pdf",
@@ -1,2 +1,2 @@
1
1
  import { FileTypes, FileExtensions } from "../../index";
2
- export default function GetTypeByFileType(type: FileTypes): FileExtensions | "";
2
+ export default function GetTypeByFileType(type: FileTypes): FileExtensions.SVG | FileExtensions.PNG | FileExtensions.GIF | FileExtensions.WEBP | FileExtensions.PDF | FileExtensions.OTF | ".jpg, .jpeg" | "";