Module

x/ts_morph/mod.ts>TypeChecker#getTypeOfSymbolAtLocation

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method TypeChecker.prototype.getTypeOfSymbolAtLocation
import { TypeChecker } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Gets the type of a symbol at the specified location.

Parameters

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