UNPKG

528 BTypeScriptView Raw
1import * as Lint from "tslint";
2import * as ts from "typescript";
3export declare class ScopeWalker extends Lint.ProgramAwareRuleWalker {
4 protected callbackMap: Map<ts.Node, string>;
5 protected callbackStack: (ts.ArrowFunction | ts.FunctionExpression)[];
6 protected knownNames: Record<string, boolean>;
7 protected visitArrowFunction(node: ts.ArrowFunction): void;
8 protected visitCallExpression(node: ts.CallExpression): void;
9 protected visitFunctionExpression(node: ts.FunctionExpression): void;
10}