cspell-lib
Version:
A library of useful functions used across various cspell tools.
16 lines • 666 B
TypeScript
/**
* Clear the cached files and other cached data.
* Calling this function will cause the next spell check to take longer because it will need to reload configuration files and dictionaries.
* Call this function if configuration files have changed.
*
* It is safe to replace {@link clearCachedFiles} with {@link clearCaches}
*/
export declare function clearCachedFiles(): Promise<void>;
/**
* Sends and event to clear the caches.
* It resets the configuration files and dictionaries.
*
* It is safe to replace {@link clearCaches} with {@link clearCachedFiles}
*/
export declare function clearCaches(): void;
//# sourceMappingURL=clearCachedFiles.d.ts.map