Module

x/ts_morph/ts_morph.d.ts>AssertEntry

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class AssertEntry
extends AssertEntryBase<ts.AssertEntry>
import { AssertEntry } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Methods

getParent(): NodeParentType<ts.AssertEntry>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.AssertEntry>>

Gets the structure equivalent to this node.

Gets the value of the assert entry.

set(structure: Partial<AssertEntryStructure>): this

Sets the name and value.