Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Issue with new redux types #14

@peterjuras

Description

@peterjuras

The redux types require a type argument for the StoreEnhancer type. Therefore the following line of index.d.ts throws an error:

createEnhancer?: () => StoreEnhancer;
node_modules/reactotron-redux/dist/types/index.d.ts:23:32 - error TS2314: Generic type 'StoreEnhancer' requires 1 type argument(s).

23         createEnhancer?: () => StoreEnhancer;
                                  ~~~~~~~~~~~~~


Found 1 error.

Using StoreEnhancer<any> solves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions