• Returns the MIME type based on the file extension.

    Parameters

    • Optional ext: null | string

      The file extension to look up.

    Returns string

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

Generated using TypeDoc