Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@20.0.0/mod.ts";

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

Parameters

optional
message: string | (() => string)

Returns

Expression<ts.Expression>