Closed mokipedia closed 4 years ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
[X] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [X] Documentation content changes [ ] Other... Please describe:
Current example in docs will not work with AOT: function call in decorator is not allowed
Issue Number: N/A
using a object literal to circumvent constructor call
[ ] Yes [X] No
that approach also leads to problems, so closing this until a better solution is found
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Current example in docs will not work with AOT: function call in decorator is not allowed
Issue Number: N/A
What is the new behavior?
using a object literal to circumvent constructor call
Does this PR introduce a breaking change?
Other information