import { Node } from "https://deno.land/x/ts_morph@19.0.0/ts_morph.d.ts";
Gets the last child by syntax kind or throws an error if not found.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
- Syntax kind.
x/ts_morph/ts_morph.d.ts>Node#getLastChildByKindOrThrow
import { Node } from "https://deno.land/x/ts_morph@19.0.0/ts_morph.d.ts";
Gets the last child by syntax kind or throws an error if not found.