UNPKG

426 BTypeScriptView Raw
1/**
2 * Clears all of the internal caches.
3 * Generally you shouldn't need or want to use this.
4 * Examples of intended uses:
5 * - In tests to reset parser state to keep tests isolated.
6 * - In custom lint tooling that iteratively lints one project at a time to prevent OOMs.
7 */
8export declare function clearCaches(): void;
9export declare const clearProgramCache: typeof clearCaches;
10//# sourceMappingURL=clear-caches.d.ts.map
\No newline at end of file