function
Disable Angular's development mode, which turns off assertions and other checks within the framework.
enableProdMode(): void
There are no parameters.
void
One important assertion this disables verifies that a change detection pass does not result in additional changes to any bindings (also known as unidirectional data flow).
Using this method is discouraged as the Angular CLI will set production mode when using the optimization
option.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/enableProdMode