Skip to main content
Module

x/ts_morph/mod.ts>ImportTypeNode#getAssertionsOrThrow

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

Gets the import type assertion container if it exists or throws.

Parameters

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