Skip to content

Commit

Permalink
Remove more bullet lists
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Dec 25, 2024
1 parent c2c4142 commit a2e1e5a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/core/src/binder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,15 @@ export interface Binder {
* When we resolve the refkey for `bar` from within `namespace scope 2`, we will get the following
* resolution result:
*
* * **targetDeclaration**: symbol bar, the symbol we resolved.
* * **commonScope**: global scope, because this is the most specific scope that contains both the declaration and the reference.
* * **pathUp**: [namespace scope 2], because this is the scope between the reference and the common scope.
* * **pathDown**: [namespace scope 1], because this is the scope between the common scope and the declaration
* * **memberPath**: [foo, bar], because we resolved a member symbol and these are the symbols that lead from the base declaration to the member symbol.
* **targetDeclaration**: symbol bar, the symbol we resolved.
*
* **commonScope**: global scope, because this is the most specific scope that contains both the declaration and the reference.
*
* **pathUp**: [namespace scope 2], because this is the scope between the reference and the common scope.
*
* **pathDown**: [namespace scope 1], because this is the scope between the common scope and the declaration
*
* **memberPath**: [foo, bar], because we resolved a member symbol and these are the symbols that lead from the base declaration to the member symbol.
*/
export interface ResolutionResult<
TScope extends OutputScope,
Expand Down

0 comments on commit a2e1e5a

Please sign in to comment.