Skip to content

ThunkWithReturnValue not exported #3107

Closed

Description

interface ThunkWithReturnValue<T> extends ThunkAction<T, any, any, AnyAction> {}

ThunkWithReturnValue should be exported to prevent errors like the one below when trying to emit declarations of api types.

Exported variable 'authApi' has or is using name 'ThunkWithReturnValue' from external module "/node_modules/@reduxjs/toolkit/dist/query/core/module" but cannot be named.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions