Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Failed to compile: Errors in @types  #332

Open
@akyker20

Description

@akyker20

I installed the react-redux and redux-thunk packages to my project.

When I run npm start, I get errors in both of these packages' types files. For instance:

/Users/austinkyker/reading_rewards/frontend/node_modules/@types/react-redux/index.d.ts
(37,59): Generic type 'Dispatch<A, S>' requires 2 type argument(s).

This prevents me from compiling my project. I think this might be because I am using redux 4 and the types for these projects have not been updated for redux 4.

Any ideas on what I should do?

Worst case I'd like to just ignore these errors. How can I do that and still compile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions