()
| 3742 | context: ResolutionContext |
| 3743 | ): Node | undefined { |
| 3744 | const inFile = (): Node | undefined => (file ? findExportedSymbol(file, want, ref.language, context, new Set()) : undefined); |
| 3745 | const declared = isBareModuleSpecifier(source, ref.language) ? findAmbientModuleExport(source, want, ref, context) : undefined; |
| 3746 | if (!declared) return inFile(); |
| 3747 | return (isRepositoryModule(source, file, ref, context) ? inFile() : undefined) ?? declared; |
no test coverage detected