Skip to content

Commit 902cf4b

Browse files
Extended Component Library Teamcopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 803068091
1 parent ba66e9c commit 902cf4b

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
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';
813
import {BrowserModule} from '@angular/platform-browser';
914

1015
import {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 {}

0 commit comments

Comments
 (0)