method Node.prototype.getParentIfKindOrThrowimport { Node } from "https://deno.land/x/fresh@1.4.1/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]