method Node.prototype.getParentIfKindOrThrowimport { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts"; getParentIfKindOrThrow<TKind extends SyntaxKind>(kind: TKind, message?: string | (() => string)): KindToNodeMappings[TKind]Gets the parent if it's a certain syntax kind or throws. Gets the parent if it's a certain syntax kind or throws. Type ParametersTKind extends SyntaxKindParameterskind: TKindoptionalmessage: string | (() => string)ReturnsKindToNodeMappings[TKind]