Module

x/ts_morph/ts_morph.d.ts>PrefixUnaryExpression

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class PrefixUnaryExpression
extends PrefixUnaryExpressionBase<ts.PrefixUnaryExpression>
import { PrefixUnaryExpression } from "https://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.d.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>>