{
  "id": "api/core/enableProdMode",
  "title": "enableProdMode",
  "contents": "\n\n<article>\n  <div class=\"breadcrumb-container\">\n    <div class=\"breadcrumb\">\n      <script type=\"application/ld+json\">\n        {\n          \"@context\": \"http://schema.org\",\n          \"@type\": \"BreadcrumbList\",\n          \"itemListElement\": [\n            { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n            { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/core\", \"name\": \"@angular/core\" } },\n            { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/core/enableProdMode\", \"name\": \"enableProdMode\" } }\n          ]\n        }\n      </script>\n        <a href=\"/api\">API</a> > <a href=\"api/core\">@angular/core</a>\n    </div>\n    <div class=\"github-links\">\n  <a href=\"https://github.com/angular/angular/edit/master/packages/core/src/util/is_dev_mode.ts?message=docs(core)%3A%20describe%20your%20change...#L34-L57\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n  <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/core/src/util/is_dev_mode.ts#L34-L57\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n  </div>\n  \n  <header class=\"api-header\">\n    <h1 id=\"enableprodmode\">enableProdMode<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/enableProdMode#enableprodmode\"><i class=\"material-icons\">link</i></a></h1>\n    \n    <label class=\"api-type-label function\">function</label>\n    \n    \n    \n  </header>\n  \n  <aio-toc class=\"embedded\"></aio-toc>\n\n  <div class=\"api-body\">\n    \n  <section class=\"short-description\">\n    <p>Disable Angular's development mode, which turns off assertions and other\nchecks within the framework.</p>\n\n    <p><a href=\"api/core/enableProdMode#description\">See more...</a></p>\n  </section>\n  \n  \n  \n\n  <div class=\"overload-info\">\n  \n\n  <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"> <span class=\"member-name\"><a href=\"api/core/enableProdMode\" class=\"code-anchor\">enableProdMode</a></span>(): void</code-example>\n\n  \n\n  <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n  <p>There are no parameters.</p>\n\n  \n  <h6 class=\"no-anchor\" id=\"returns\">Returns</h6>\n  <p><code>void</code></p>\n\n  \n\n\n  \n\n  \n</div>\n\n\n  \n\n  \n\n<section class=\"description\">\n  <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/enableProdMode#description\"><i class=\"material-icons\">link</i></a></h2>\n  <p>One important assertion this disables verifies that a change detection pass\ndoes not result in additional changes to any bindings (also known as\nunidirectional data flow).</p>\n\n  \n</section>\n\n\n\n  \n\n\n  </div>\n</article>\n\n<!-- links to this doc:\n - api/core\n - api/core/isDevMode\n - guide/ajs-quick-reference\n - guide/deployment\n - guide/docs-style-guide\n - guide/dynamic-form\n - guide/forms\n - guide/i18n\n - guide/set-document-title\n-->\n<!-- links from this doc:\n - /api\n - api/core\n - api/core/enableProdMode#description\n - api/core/enableProdMode#enableprodmode\n - https://github.com/angular/angular/edit/master/packages/core/src/util/is_dev_mode.ts?message=docs(core)%3A%20describe%20your%20change...#L34-L57\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/core/src/util/is_dev_mode.ts#L34-L57\n-->"
}