• Returns the file extension based on the MIME type.

    Parameters

    • Optional mimeType: null | string

      The MIME type to look up.

    Returns string

    • The file extension for the given MIME type, or an empty string if no matching file extension was found.

Generated using TypeDoc