Skip to main content
Module

x/deno2node/src/deps.deno.ts>AssertEntry

Compile your Deno project to run on Node.js.
Go to Latest
class AssertEntry
extends AssertEntryBase<ts.AssertEntry>
import { AssertEntry } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.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.