Skip to content
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

Typescript error. Parameter implicitly has an 'any' type. #458

Closed
mrKimura opened this issue May 21, 2020 · 2 comments
Closed

Typescript error. Parameter implicitly has an 'any' type. #458

mrKimura opened this issue May 21, 2020 · 2 comments

Comments

@mrKimura
Copy link

mrKimura commented May 21, 2020

node_modules/rambda/index.d.ts:797:68 - error TS7006: Parameter 'obj' implicitly has an 'any' type.

export function propIs<P extends string>(target: any, property: P, obj): <T>(obj: Record<P, T>) => boolean;

@selfrefactor
Copy link
Owner

Fix is on its way. Thank you for reporting that.

@selfrefactor
Copy link
Owner

I just published 5.4.1 but I am still unsure that you won't get it again, as you didn't provide an example code.

I just imported R.propIs definitions from @types/ramda so it should be fine, but please let me know if that is not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants