import { Node } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";
Gets the first ancestor by syntax kind or throws if not found.
Type Parameters
TKind extends SyntaxKind
x/ts_morph/ts_morph.d.ts>Node#getFirstAncestorByKindOrThrow
import { Node } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";
Gets the first ancestor by syntax kind or throws if not found.