UNPKG

@googleforcreators/media

Version:

Functionality for creating and working with media resources in the Web Stories editor.

13 lines 340 B
/** * Internal dependencies */ import type { ResourceType } from './types'; /** * Infer element type from mime type of its resource * * @param mimeType Mime type. * @return Element type. */ declare function getTypeFromMime(mimeType: string): ResourceType; export default getTypeFromMime; //# sourceMappingURL=getTypeFromMime.d.ts.map