resolution.d.ts 833 B

1234567
  1. import * as ts from 'typescript';
  2. export declare type ResolveModuleName = (typescript: typeof ts, moduleName: string, containingFile: string, compilerOptions: ts.CompilerOptions, moduleResolutionHost: ts.ModuleResolutionHost) => ts.ResolvedModuleWithFailedLookupLocations;
  3. export declare type ResolveTypeReferenceDirective = (typescript: typeof ts, typeDirectiveName: string, containingFile: string, compilerOptions: ts.CompilerOptions, moduleResolutionHost: ts.ModuleResolutionHost) => ts.ResolvedTypeReferenceDirectiveWithFailedLookupLocations;
  4. export declare function makeResolutionFunctions(resolveModuleName: ResolveModuleName | undefined, resolveTypeReferenceDirective: ResolveTypeReferenceDirective | undefined): {
  5. resolveModuleName: ResolveModuleName;
  6. resolveTypeReferenceDirective: ResolveTypeReferenceDirective;
  7. };