import { Node } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets the first child by syntax kind or throws an error if not found.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
- Syntax kind.
x/deno2node/src/deps.deno.ts>Node#getFirstChildByKindOrThrow
import { Node } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets the first child by syntax kind or throws an error if not found.