Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
implicit return-type error during typescript compilation #96
When I try to compile my typescript project which uses redux-observable, the following error messages result:
node_modules/redux-observable/index.d.ts(7,3): error TS7010: 'lift', which lacks return-type annotation, implicitly has an 'any' return type.
Issue above persists. When I compile a TypeScript project which uses redux-observable tsc complains about implicit 'any' return types. Adding return type information to the typings file exposed by redux-observable resolves the error. The PR I submitted did the needful but used the wrong types. I see your comment in the PR comments stating that ActionsObservable is the correct type, even for ofType. I'll happily open a new PR with the correct types if you feel that this issue is clear and that the types are desirable.