Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Methods

Gets the operand of the prefix unary expression.

getOperatorToken(): ts.PrefixUnaryOperator

Gets the operator token of the prefix unary expression.

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