Skip to main content
Module

x/ts_morph/mod.ts>TypeChecker#getTypeOfSymbolAtLocation

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method TypeChecker.prototype.getTypeOfSymbolAtLocation
import { TypeChecker } from "https://deno.land/x/ts_morph@15.1.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.