file-selector
Version:
Convert DataTransfer object to a list of File objects
12 lines • 486 B
TypeScript
//#region src/mime.d.ts
/**
* The full extension-to-MIME table (~1,200 entries), exposed via the `file-selector/mime` subpath
* so it stays out of the main bundle. Pass it to `fromEvent(evt, {mimeTypes: COMMON_MIME_TYPES})`
* when you need coverage beyond the built-in defaults.
*
* See https://github.com/react-dropzone/file-selector/issues/127
*/
declare const COMMON_MIME_TYPES: Map<string, string>;
//#endregion
export { COMMON_MIME_TYPES };
//# sourceMappingURL=mime.d.ts.map