Skip to main content
Module

x/ts_morph/mod.ts>ElementAccessExpression#getArgumentExpressionOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ElementAccessExpression.prototype.getArgumentExpressionOrThrow
import { ElementAccessExpression } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets this element access expression's argument expression or throws if none exists.

Returns

Expression<ts.Expression>