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