* The module a value `filePath` declares as `name` loads lazily, and the * export its loader picks (`valueLoader`) — null for a value that loads none, * undefined when the file declares no such value.
(name: string, filePath: string, context: ResolutionContext)
| 703 | * undefined when the file declares no such value. |
| 704 | */ |
| 705 | function declaredLoader(name: string, filePath: string, context: ResolutionContext): { spec: string; member: string } | null | undefined { |
| 706 | const declaration = declaredValue(name, filePath, context); |
| 707 | return declaration ? valueLoader(declaration, context) : undefined; |
| 708 | } |
| 709 | |
| 710 | /** |
| 711 | * The modules the values `filePath` declares load lazily, with the barrels the |
no test coverage detected