Skip to content

Option to rename MainModule for generated TypeScript types #20952

Open

Description

@Mike-Bell

Looks like this is hardcoded to output MainModule

out.push('export interface MainModule {\n');

I can alias it on the consuming side pretty easily, but it would be nice if this were configurable, as MainModule is not a great name and it will conflict between multiple modules.

Activity

  1. changed the title [-]Option to rename MainModule for generated types[/-] [+]Option to rename MainModule for generated TypeScript types[/+] on Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions