Skip to main content
Module

x/ts_morph/mod.ts>Symbol#getTypeAtLocation

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

Gets the type of the symbol at a location.

Parameters

node: Node
  • Location to get the type at for this symbol.

Returns

Type<ts.Type>