@fimbul/wotan
Version:
Pluggable TypeScript and JavaScript linter
14 lines (13 loc) • 552 B
TypeScript
import { Resolver, DirectoryService } from '@fimbul/ymir';
import { CachedFileSystem } from '../cached-file-system';
export declare class NodeResolver implements Resolver {
private fs;
private directories;
private defaultExtensions;
constructor(fs: CachedFileSystem, directories: DirectoryService);
getDefaultExtensions(): readonly string[];
resolve(id: string, basedir?: string, extensions?: readonly string[], paths?: ReadonlyArray<string>): string;
require(id: string, options?: {
cache?: boolean;
}): any;
}