Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExplorerBase.d.ts 1.1KB

123456789101112131415161718192021
  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