contentTypeForPath
Guess a content type from a path's extension, defaulting to application/octet-stream.
Guess a content type from a path's extension, defaulting to application/octet-stream.
function contentTypeForPath(path: string): string;Parameters
Prop
Type
Returns
string