You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: remove workaround for decorator metadata in universal-app (#19840)
In the past, Angular removed tsickle from the build pipeline. This meant
that decorators were not downleveled, and executed immediately. This
caused errors in SSR as parameters or input types are accessed on
file load as runtime values. e.g. consider an input that used
`HTMLElement` as type. The TypeScript decorator output would access
`HTMLElement` on file load directly. This breaks on the server as such
DOM specific globals do not exist there.
We worked around this by providing global mocks for these symbols. Now
with Angular v10 though, Angular processes decorators by default without
requiring tsickle. This means that we can remove the workaround.
0 commit comments