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

x/deno/cli/js/type_directives.ts>getMappedModuleName

A modern runtime for JavaScript and TypeScript.
Go to Latest
function getMappedModuleName
import { getMappedModuleName } from "https://deno.land/x/deno@v0.28.0/cli/js/type_directives.ts";

Remap the module name based on any supplied type directives passed.

Parameters

source: FileReference
typeDirectives: Map<FileReference, string>

Returns

string