Module

x/ts_morph/mod.ts>Expression

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
class Expression
extends Node<T>
import { Expression } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";

Type Parameters

optional
T extends ts.Expression = ts.Expression

Methods

getContextualType(): Type | undefined

Gets the contextual type of the expression.