import { Node } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";
Gets the node as the specified kind if it is equal to that kind, otherwise throws.
Type Parameters
TKind extends SyntaxKind
x/ts_morph/ts_morph.d.ts>Node#asKindOrThrow
import { Node } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";
Gets the node as the specified kind if it is equal to that kind, otherwise throws.