import { Node } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";
Gets the parent if it's a certain syntax kind or throws.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
x/ts_morph/ts_morph.d.ts>Node#getParentIfKindOrThrow
import { Node } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";
Gets the parent if it's a certain syntax kind or throws.