UNPKG

@chtsinc/ch-uploader

Version:

A pluggable, cloud-agnostic file uploader for Azure, S3, and more.

6 lines (5 loc) 200 B
/** * Returns a best‐guess Content-Type for a file extension. * @param extension The extension (with or without leading dot) */ export declare function getContentType(extension: string): string;