Skip to main content
Module

x/ts_morph/mod.ts>DocumentSpan#getNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method DocumentSpan.prototype.getNode
import { DocumentSpan } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets the node at the start of the text span.

Returns

Node<ts.Node>