Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | import { CosmiconfigResult, ExplorerOptions, ExplorerOptionsSync, Cache, LoadedFileContent } from './types';
|
---|
2 | import { Loader } from './index';
|
---|
3 | declare class ExplorerBase<T extends ExplorerOptions | ExplorerOptionsSync> {
|
---|
4 | protected readonly loadCache?: Cache;
|
---|
5 | protected readonly searchCache?: Cache;
|
---|
6 | protected readonly config: T;
|
---|
7 | constructor(options: T);
|
---|
8 | clearLoadCache(): void;
|
---|
9 | clearSearchCache(): void;
|
---|
10 | clearCaches(): void;
|
---|
11 | private validateConfig;
|
---|
12 | protected shouldSearchStopWithResult(result: CosmiconfigResult): boolean;
|
---|
13 | protected nextDirectoryToSearch(currentDir: string, currentResult: CosmiconfigResult): string | null;
|
---|
14 | private loadPackageProp;
|
---|
15 | protected getLoaderEntryForFile(filepath: string): Loader;
|
---|
16 | protected loadedContentToCosmiconfigResult(filepath: string, loadedContent: LoadedFileContent): CosmiconfigResult;
|
---|
17 | protected validateFilePath(filepath: string): void;
|
---|
18 | }
|
---|
19 | declare function getExtensionDescription(filepath: string): string;
|
---|
20 | export { ExplorerBase, getExtensionDescription };
|
---|
21 | //# sourceMappingURL=ExplorerBase.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.