Reference / Modules / client / MimeType
Class: MimeType
client.MimeType
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new MimeType(mimeType
): MimeType
Parameters
Name | Type |
---|---|
mimeType | string |
Returns
Defined in
Properties
_entry
• Private
_entry: MimeEntry
Defined in
packages/client/src/Mime.ts:20
_mimeType
• Private
_mimeType: string
Defined in
packages/client/src/Mime.ts:18
Accessors
extensions
• get
extensions(): readonly string
[]
Returns
readonly string
[]
Defined in
packages/client/src/Mime.ts:26
mimeType
• get
mimeType(): string
Returns
string
Defined in
packages/client/src/Mime.ts:22
Methods
from
▸ from(mimeType
): MimeType
Parameters
Name | Type |
---|---|
mimeType | string |