Skip to main content
Module

x/ts_morph/mod.ts>Expression

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

Type Parameters

optional
T extends ts.Expression = ts.Expression

Methods

getContextualType(): Type | undefined

Gets the contextual type of the expression.