lib/file typing fix

This commit is contained in:
tmshv committed 2022-09-06 13:08:26 +03:00
1 parent 1d31293b87
commit e973ef3969
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ const mime = new Map([
export function ext(mimeType: string): string {
if (mime.has(mimeType)) {
return mime.get(mimeType)
return mime.get(mimeType)!
}
return mimeType