UNPKG

file-selector

Version:

Convert DataTransfer object to a list of File objects

15 lines 681 B
//#region src/mime-default.d.ts /** * A small set of the most common file extensions, bundled into the main entry so that * {@link fromEvent} guesses a MIME type for typeless files out of the box. * * This is the single source of truth for these defaults: the full extension-to-MIME table * (`COMMON_MIME_TYPES`, exposed via the `file-selector/mime` subpath) spreads this map in * rather than redefining these entries, so no value is duplicated across modules. * * See https://github.com/react-dropzone/file-selector/issues/127 */ declare const DEFAULT_MIME_TYPES: Map<string, string>; //#endregion export { DEFAULT_MIME_TYPES }; //# sourceMappingURL=mime-default.d.ts.map