Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Decorator#getCallExpressionOrThrow

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

Gets the call expression if a decorator factory, or throws.

Parameters

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

Returns

CallExpression