n6g7 / redux-saga-firebase

A redux saga integration for firebase.
https://redux-saga-firebase.js.org/
MIT License
284 stars 57 forks source link

`file` and `metadata` implicitly have 'any' type [typescript] #146

Open dfee opened 6 years ago

dfee commented 6 years ago

As the title says, file and metadata implicitly have 'any' type. This means that I've had to disable my tsconfig's noImplicitAny (or enable skipLibCheck) otherwise I get presented with errors.

node_modules/redux-saga-firebase/index.d.ts(106,46): error TS7006: Parameter 'file' implicitly has an 'any' type.
node_modules/redux-saga-firebase/index.d.ts(106,52): error TS7006: Parameter 'metadata' implicitly has an 'any' type.

I'm not sure what the proper types should be for those.

n6g7 commented 5 years ago

This is also addressed in https://github.com/n6g7/redux-saga-firebase/pull/155.