Skip to main content
Module

x/ts_morph/mod.ts>TypeChecker#getSymbolsInScope

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

Gets the symbols in the scope of the provided node.

Note: This will always return the local symbols. If you want the export symbol from a local symbol, then use the #getExportSymbolOfSymbol(symbol) method.

Parameters

node: Node
  • Node to check the scope for.
meaning: SymbolFlags
  • Meaning of symbol to filter by.