method Node.prototype.getFirstAncestorByKindOrThrowimport { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts"; getFirstAncestorByKindOrThrow<TKind extends SyntaxKind>(kind: TKind, message?: string | (() => string)): KindToNodeMappings[TKind]Gets the first ancestor by syntax kind or throws if not found. Gets the first ancestor by syntax kind or throws if not found. Type ParametersTKind extends SyntaxKindParameterskind: TKind Syntax kind. optionalmessage: string | (() => string)ReturnsKindToNodeMappings[TKind]