Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ImportDeclaration#getNamespaceImportOrThrow

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

Gets the namespace import if it exists or throws.

Parameters

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