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

Angular app with angular 14 won't compile with mixins #93

Closed
njourdain opened this issue Dec 19, 2022 · 2 comments
Closed

Angular app with angular 14 won't compile with mixins #93

njourdain opened this issue Dec 19, 2022 · 2 comments

Comments

@njourdain
Copy link

Related issue : microsoft/TypeScript#30355

Compiling code with a mixin that contains private or protected properties will fail with TS4094 error. As a workaround, I copied the used mixins and just made the private properties public, which is not ideal.

I also tried setting "declaration": false in my tsconfig but there was no change.

@ersimont
Copy link
Member

I think I'll need some more info to be able to reproduce and fix the error you encountered. For example, here is an Angular 14 app of mine that uses mixins from s-libs, and it compiles.

@njourdain
Copy link
Author

Closing this issue as I cannot reproduce

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

No branches or pull requests

2 participants