property MIMEType.prototype.type
Usage in Deno
```typescript import { MIMEType } from "node:node__util.d.ts"; ```Gets and sets the type portion of the MIME.
```js
import { MIMEType } from 'node:util';
const myMIME = new MIMEType('text/javascript');
console.log(myMIME.type);
// Prints: text
myMIME.type = 'application';
console.log(myMIME.type);
// Prints: application
console.log(String(myMIME));
// Prints: application/javascript
```
string