Module

x/ts_morph/mod.ts>ExportDeclaration#getModuleSpecifierSourceFileOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method ExportDeclaration.prototype.getModuleSpecifierSourceFileOrThrow
import { ExportDeclaration } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Gets the source file referenced in the module specifier or throws if it can't find it or it doesn't exist.

Parameters

optional
message: string | (() => string)