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

x/aleph/tsc/transform-import-path-rewrite.ts>default

The Full-stack Framework in Deno.
Go to Latest
function default
import { default } from "https://deno.land/x/aleph@v0.2.14/tsc/transform-import-path-rewrite.ts";

TS AST transformer to rewrite import path.

Parameters

sf: ts.SourceFile
node: ts.Node
rewriteImportPath: (importPath: string) => string

Returns

ts.VisitResult<ts.Node>