Ask a question to get started
Enter to send•Shift+Enter new line
Determine MIME type from a file path's extension.
Returns "text/plain" for unknown extensions.
getMimeType(filePath: string): string
filePath
string
File path to inspect