We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using typescript@4.9, the following error appears, which doesn't exist on typescript@4.8:
typescript@4.9
typescript@4.8
TSError: ⨯ Unable to compile TypeScript: src/inmemory-cache-provider.ts:25:50 - error TS2304: Cannot find name 'this'. 25 private removeKeyIfExpired: (key: keyof typeof this.cacheKeys, nowMs: number) => Promise;
TSError: ⨯ Unable to compile TypeScript: src/inmemory-cache-provider.ts:25:50 - error TS2304: Cannot find name 'this'.
25 private removeKeyIfExpired: (key: keyof typeof this.cacheKeys, nowMs: number) => Promise;
The text was updated successfully, but these errors were encountered:
@cjbarth Would this issue be resolved with TypeScript 5?
Sorry, something went wrong.
I intend to do testing to figure that out. If it isn't resolved, we may need to adjust our code to work here.
After moving to TypeScript 5.x, this problem went away.
No branches or pull requests
When using
typescript@4.9
, the following error appears, which doesn't exist ontypescript@4.8
:The text was updated successfully, but these errors were encountered: