lib/file typing fix
This commit is contained in:
1 parent
1d31293b87
commit
e973ef3969
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ const mime = new Map([
|
|||||||
|
|
||||||
export function ext(mimeType: string): string {
|
export function ext(mimeType: string): string {
|
||||||
if (mime.has(mimeType)) {
|
if (mime.has(mimeType)) {
|
||||||
return mime.get(mimeType)
|
return mime.get(mimeType)!
|
||||||
}
|
}
|
||||||
|
|
||||||
return mimeType
|
return mimeType
|
||||||
|
|||||||
Reference in new issue
Block a user