import { Node } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";
Gets the parent if it's a certain syntax kind or throws.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
import { Node } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";
Gets the parent if it's a certain syntax kind or throws.