opened
JohannesHuster
username_0
Hi again,

like #853 this PR also solves issue #773. After researching a bit more I found a different solution. Because each solution might have different tradeoffs for you, I will leave both PRs open for now. 

I removed the `emitDecoratorMetadata` option, which is only needed for JIT support, if I am not mistaken: https://github.com/angular/angular/issues/30586#issuecomment-494898597. So with Angular 9 it should not be needed.

The actual issue seems to be a TypeScript limitation, but I opened issue https://github.com/angular/angular/issues/37472 with the angular team, to check whether this is a regression to a workaround they have implemented. From that issue you can find more information from the Angular team in linked issues that describe the original problem very well.

Thank you!
Fix SSR ReferenceError with decorator metadata
issue
created
manfredsteyer
username_1
Let's go with your other PR.
comment