Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class AssertClause
extends AssertClauseBase<ts.AssertClause>
import { AssertClause } from "https://deno.land/x/deno2node@v1.6.0/src/deps.deno.ts";

Methods

Gets the elements of the assert clause.

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

Removes the assert clause.

setElements(elements: ReadonlyArray<OptionalKind<AssertEntryStructure>>): this

Sets the elements in the assert clause