Skip to content

Codegen addTagTypes function exports = typescript error #2994

@proggarapsody

Description

@proggarapsody

I'm using codegen with a public API with index.ts files to export everything to the top level, each file has an addTagTypes function, so typescript throws a duplicate initialization error for those functions.

Activity

Jheysoon

Jheysoon commented on May 8, 2023

@Jheysoon

I have the same issue can i create a PR to solved this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Jheysoon@proggarapsody@aryaemami59

        Issue actions

          Codegen addTagTypes function exports = typescript error · Issue #2994 · reduxjs/redux-toolkit