* Whether a bare specifier names one of the project's files through the * importing app's own config: its `paths` or `baseUrl` map it to a file the * index holds, and no package the app declares goes by it * (`layout/MainLayout` under `"baseUrl": "src"`). Not a name that maps to * nothing yet: u
(importPath: string, fromFile: string, language: Language, context: ResolutionContext)
| 2017 | * a package the manifest leaves out than a module still to come. |
| 2018 | */ |
| 2019 | function namesOwnConfigModule(importPath: string, fromFile: string, language: Language, context: ResolutionContext): boolean { |
| 2020 | return context.isDeclaredPackage?.(importPath, fromFile) === false && |
| 2021 | resolveImportPath(importPath, fromFile, language, context) !== null; |
| 2022 | } |
| 2023 | |
| 2024 | /** |
| 2025 | * The Clang compilation databases a project can have, relative to its root, |
no test coverage detected