import { type BaseExpressionedNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";
Type Parameters
TExpression extends Node
Methods
getExpressionIfKind<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind] | undefined
Gets the expression if its of a certain kind or returns undefined.
getExpressionIfKindOrThrow<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind]
Gets the expression if its of a certain kind or throws.
import { BaseExpressionedNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";
Type Parameters
T extends Constructor<ExpressionedNodeExtensionType>
optional
TExpression extends Node = CompilerNodeToWrappedType<InstanceOf<T>["compilerNode"]>Parameters
Base: T