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

x/typebox/task/build/esm/convert-to-esm.ts>convertToEsm

Json Schema Type Builder with Static Type Resolution for TypeScript
Latest
function convertToEsm
import { convertToEsm } from "https://deno.land/x/typebox@0.34.0/task/build/esm/convert-to-esm.ts";

Converts the JavaScript and TypeScript declaration modules in the given source directory to use .mjs extensions

Parameters

sourceDirectory: string