Skip to content

Commit

Permalink
fix(typescript-estree): do not call export of clearProgramCache (#6540)
Browse files Browse the repository at this point in the history
Do not call export of clearProgramCache

Calling it exports `undefined` instead of making it an alias of
`clearCaches`, which I believe was the intent.
  • Loading branch information
sandersn committed Feb 27, 2023
1 parent 678ed41 commit 181e705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-estree/src/clear-caches.ts
Expand Up @@ -18,4 +18,4 @@ export function clearCaches(): void {
}

// TODO - delete this in next major
export const clearProgramCache = clearCaches();
export const clearProgramCache = clearCaches;

0 comments on commit 181e705

Please sign in to comment.