katoikia-app/web-ui/web-react/node_modules/fork-ts-checker-webpack-plugin/lib/resolution.d.ts

8 lines
833 B
TypeScript

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