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

x/deno/cli/js/compiler_sourcefile.ts>SourceFile.getUrl

A modern runtime for JavaScript and TypeScript.
Go to Latest
method SourceFile.getUrl
import { SourceFile } from "https://deno.land/x/deno@v0.30.0/cli/js/compiler_sourcefile.ts";

Retrieve a SourceFile based on a moduleSpecifier and containingFile or return undefined if not preset.

Parameters

moduleSpecifier: string
containingFile: string

Returns

string | undefined