Skip to content

Option to rename MainModule for generated TypeScript types #20952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mike-Bell opened this issue Dec 19, 2023 · 0 comments
Open

Option to rename MainModule for generated TypeScript types #20952

Mike-Bell opened this issue Dec 19, 2023 · 0 comments
Labels

Comments

@Mike-Bell
Copy link

Mike-Bell commented Dec 19, 2023

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.

@Mike-Bell Mike-Bell changed the title Option to rename MainModule for generated types Option to rename MainModule for generated TypeScript types Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants