SymbolLookup
The checker questions canonicalization asks; analyze.ts answers them from a prefetched cache.
import type { Node as ts_Node } from "typescript/ast"; import type { Symbol as ts_Symbol } from "typescript/sync"; export interface SymbolLookup { getSymbolAtLocation(node: ts_Node): ts_Symbol | undefined; getAliasedSymbol(symbol: ts_Symbol): ts_Symbol; getShorthandAssignmentValueSymbol(node: ts_Node): ts_Symbol | undefined; }