import { Node } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";
Get the first ancestor by syntax kind.
Type Parameters
TKind extends SyntaxKind
Returns
KindToNodeMappings[TKind] | undefined
import { Node } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";
Get the first ancestor by syntax kind.