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

8 lines
833 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
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;
};