mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Refactor expression evaluator (#57955)
This commit is contained in:
@@ -10065,3 +10065,9 @@ export interface Queue<T> {
|
||||
dequeue(): T;
|
||||
isEmpty(): boolean;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export interface EvaluationResolver {
|
||||
evaluateEntityNameExpression(expr: EntityNameExpression, location: Declaration | undefined): string | number | undefined;
|
||||
evaluateElementAccessExpression(expr: ElementAccessExpression, location: Declaration | undefined): string | number | undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user