import { type InitializerExpressionGetableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getInitializer(): Expression | undefined
Gets the initializer.
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.
getInitializerOrThrow(message?: string | (() => string)): Expression
Gets the initializer or throw.
import { InitializerExpressionGetableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<InitializerExpressionGetableNodeExtensionType>
Parameters
Base: T