File tree Expand file tree Collapse file tree
examples/angular_sample_app/src/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/**
2+ * g3-format-prettier
23 * @license
34 * Copyright 2023 Google LLC
45 * SPDX-License-Identifier: Apache-2.0
56 */
67
7- import { CUSTOM_ELEMENTS_SCHEMA , NgModule } from '@angular/core' ;
8+ import {
9+ CUSTOM_ELEMENTS_SCHEMA ,
10+ NgModule ,
11+ provideZoneChangeDetection ,
12+ } from '@angular/core' ;
813import { BrowserModule } from '@angular/platform-browser' ;
914
1015import { AppComponent } from './app.component' ;
1116
17+ @NgModule ( { providers : [ provideZoneChangeDetection ( ) ] } )
18+ export class ZoneChangeDetectionModule { }
19+
1220@NgModule ( {
1321 declarations : [ AppComponent ] ,
14- imports : [ BrowserModule ] ,
22+ imports : [ ZoneChangeDetectionModule , BrowserModule ] ,
1523 providers : [ ] ,
1624 bootstrap : [ AppComponent ] ,
17- schemas : [ CUSTOM_ELEMENTS_SCHEMA ]
25+ schemas : [ CUSTOM_ELEMENTS_SCHEMA ] ,
1826} )
19- export class AppModule {
20- }
27+ export class AppModule { }
You can’t perform that action at this time.
0 commit comments