Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_serve/utils/transpile.ts>MediaType

Transpile TypeScript on the fly and deliver it from your server as ES Modules.
Latest
enum MediaType
import { MediaType } from "https://deno.land/x/ts_serve@v1.4.4/utils/transpile.ts";

File type. You can pass it as an option to the transpile function to tell it what media type the source is.

Members

Jsx
Tsx
TypeScript