The module-level `const`, `let` or `var` `filePath` declares as `name`.
(name: string, filePath: string, context: ResolutionContext)
| 727 | |
| 728 | /** The module-level `const`, `let` or `var` `filePath` declares as `name`. */ |
| 729 | function declaredValue(name: string, filePath: string, context: ResolutionContext): Node | undefined { |
| 730 | return (context.getNodesInFileNamed?.(filePath, name) ?? context.getNodesInFile(filePath).filter((n) => n.name === name)) |
| 731 | .find((n) => (n.kind === 'constant' || n.kind === 'variable') && n.qualifiedName === name); |
| 732 | } |
| 733 | |
| 734 | /** |
| 735 | * The module a value's initializer hands a lazy loader, and the export the |
no test coverage detected