(filePath?: string)
| 359 | } |
| 360 | |
| 361 | export const getMediaMime = (filePath?: string): string => { |
| 362 | return (filePath && mimeTypes[path.extname(filePath)]) || "text/plain" |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * A helper function that checks if the platform is Windows Subsystem for Linux |
no outgoing calls
no test coverage detected