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
fix(@angular/build): warn when using both isolatedModules and emitDecoratorMetadata
If both the `isolatedModules` and `emitDecoratorMetadata` Typescript
options are enabled within a project, a warning will now be issued
explaining that not all metadata may be emitting for each decorator.
Isolated modules may not have access to non-local type information
that would otherwise be needed for complete metadata emit.
The `emitDecoratorMetadata` option is not required by Angular and can cause
runtime errors due to its underlying implementation when used with
ES2015+ output. The option is only compatible with the experimental
decorators and cannot be used with standard decorators. New Angular
projects also do not enable this option.
(cherry picked from commit 61e8185)
0 commit comments