UNPKG
@chtsinc/ch-uploader
Version:
latest (0.0.2)
0.0.2
0.0.1
A pluggable, cloud-agnostic file uploader for Azure, S3, and more.
@chtsinc/ch-uploader
/
dist
/
types
/
utils
/
content-type.d.ts
6 lines
(5 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
6
/** * 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
;