Skip to content

ThunkWithReturnValue not exported #3107

Closed
@giomogna

Description

@giomogna

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.

Metadata

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