import { type InitializerExpressionGetableNode } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.ts";
Methods
getInitializerIfKindOrThrow<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind]
Gets the initializer if it's a certain kind or throws.
getInitializerIfKind<TKind extends SyntaxKind>(kind: TKind): KindToExpressionMappings[TKind] | undefined
Gets the initializer if it's a certain kind.
import { InitializerExpressionGetableNode } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.ts";
Type Parameters
T extends Constructor<InitializerExpressionGetableNodeExtensionType>
Parameters
Base: T