(specifier: string, name: string, isDefault: boolean, ref: UnresolvedRef, context: ResolutionContext)
| 871 | |
| 872 | /** Whether the repository declares `specifier` itself, and its declaration exports `name` (or the default). */ |
| 873 | export function ambientModuleDeclares(specifier: string, name: string, isDefault: boolean, ref: UnresolvedRef, context: ResolutionContext): boolean { |
| 874 | return findAmbientModuleExport(specifier, { isDefault, isNamespace: false, exportedName: name, memberName: null }, ref, context) !== undefined; |
| 875 | } |
| 876 | |
| 877 | /** The `declare module` block of a declaration file whose own level declares `node`, if any. */ |
| 878 | function blockDeclaring(node: Node, context: ResolutionContext): AmbientModule | undefined { |
no test coverage detected