Skip to main content
Module

x/ts_morph/mod.ts>PostfixUnaryExpression

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class PostfixUnaryExpression
extends PostfixUnaryExpressionBase<ts.PostfixUnaryExpression>
import { PostfixUnaryExpression } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Methods

Gets the operand of the postfix unary expression.

getOperatorToken(): ts.PostfixUnaryOperator

Gets the operator token of the postfix unary expression.

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