Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ContentType

import type { ContentType } from "https://raw.githubusercontent.com/worker-tools/middleware/master/index.ts";
interface ContentType <T> {
type: T;
}

§Type Parameters

§Properties

§
type: T
[src]

The best content type acceptable to the client.