Annotate log and defer utils #1064
Annotate log and defer utils #1064
Conversation
Thanks @AbhiGulati, this is really great work. You're approach to declaring the |
@AbhiGulati I don't know if you have time, but I'd love to get your thoughts on our type support in the redux actions. Here's an issue for adding flow type to Actions - #1066. We've added some types to some of the other actions, but i think it's mostly low hanging fruit stuff. I'm not really sure how to type the redux |
I'm not sure what the best place is for the interface files. I was just following tutorials that I found online. I think it would be reasonable to move it into the |
I don't have any feedback on the existing type annotations or your PR; this was my first time working with Flow, and I just focused on getting the coverage up for the listed files. Have you looked into flow-typed? I think you should be able to grab type declarations for redux, but I'm not sure if it will help with thunk-middleware. |
Oh interesting. I haven't looked at flow-typed, that could be good. You had
|
@AbhiGulati after thinking about it a bit more, I think the best thing to do would be to add an interface file to |
10b8c52
to
c667179
Compare
I moved the declaration to devtools-config. Thanks for the help @AbhiGulati. Would love your help going forward on types or any other issues. |
Associated Issue: #1034
Summary of Changes
Testing
npm test
npm run lint