(declaringFile: string, fromFile: string, context: ResolutionContext)
| 773 | |
| 774 | /** Whether a `declare module` in `declaringFile` counts for a file in `fromFile` (see reachesProgram). */ |
| 775 | export function declaringFileAnswers(declaringFile: string, fromFile: string, context: ResolutionContext): boolean { |
| 776 | return reachesProgram(declaringFile, isTestCode(declaringFile), fromFile, isTestCode(fromFile), context); |
| 777 | } |
| 778 | |
| 779 | /** The script declarations of `specifier` an import in `fromFile` can mean (see reachesProgram), the files nearest it first. */ |
| 780 | function declarationsFor(specifier: string, fromFile: string, context: ResolutionContext): AmbientModule[] { |
no test coverage detected