Skip to content
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

Do Type-Only Exports #343

Open
mumenthalers opened this issue Dec 31, 2024 · 0 comments · May be fixed by #344
Open

Do Type-Only Exports #343

mumenthalers opened this issue Dec 31, 2024 · 0 comments · May be fixed by #344

Comments

@mumenthalers
Copy link

New Angular Projects are created with the tsConfig flag isolatedModules set to true.
In order to support this flag, the library should export interfaces and type aliases in barrel files with the type only modifier like

export type { User } from './models/user';

afaik it only concerns the the non-enums of the models and the StrictHttpResponse in the index barrel file and models barrel file.

I will open a PR to do as described - would be nice if this small improvement could be merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant