GoScrobble/web/node_modules/fork-ts-checker-webpack-plugin/lib/resolution.d.ts

8 lines
833 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +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;
};