Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ExportDeclaration#getNamespaceExportOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ExportDeclaration.prototype.getNamespaceExportOrThrow
import { ExportDeclaration } from "https://deno.land/x/ts_morph@18.0.0/ts_morph.d.ts";

Gets the namespace export or throws if it doesn't exist. (ex. * as ns, but not *)

Parameters

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