-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
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
Property '_doesIntervalAllowAnother' implicitly has type 'any' #89
Comments
Looks like it was fixed in TS 3.7.2, but I think you have to upgrade to that version: microsoft/TypeScript@e48cd3a |
@sindresorhus I cannot upgrade to latest typescript, since it will break many things in my monorepo (nuxt, vue, etc have some issues). How about adding explicit type annotations please? |
It does have a type annotation: Line 91 in c2e768f
p-queue version to 6.2.0 until you can upgrade TypeScript.
|
More discussion about it here: microsoft/TypeScript#35016 |
Hello,
Thank you for the great work with this library! We tried upgrading from version 6.2.0 to 6.2.1 and are getting the following TypeScript compiler errors:
We are using TypeScript 3.6.4 and have
noImplicitAny: true
set.The type definitions for version 6.2.0 declared them as private variables:
The type definitions for version 6.2.1 now declare them as private getters:
Maybe that's why TypeScript treats them differently?
Thank you for you help!
The text was updated successfully, but these errors were encountered: