We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba66e9c commit 3076e82Copy full SHA for 3076e82
1 file changed
examples/angular_sample_app/src/app/app.module.ts
@@ -1,3 +1,5 @@
1
+// g3-format-prettier
2
+import {provideZoneChangeDetection} from '@angular/core';
3
/**
4
* @license
5
* Copyright 2023 Google LLC
@@ -9,12 +11,14 @@ import {BrowserModule} from '@angular/platform-browser';
9
11
10
12
import {AppComponent} from './app.component';
13
14
+@NgModule({providers: [provideZoneChangeDetection()]})
15
+export class ZoneChangeDetectionModule {}
16
+
17
@NgModule({
18
declarations: [AppComponent],
- imports: [BrowserModule],
19
+ imports: [ZoneChangeDetectionModule, BrowserModule],
20
providers: [],
21
bootstrap: [AppComponent],
- schemas: [CUSTOM_ELEMENTS_SCHEMA]
22
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
23
})
-export class AppModule {
-}
24
+export class AppModule {}
0 commit comments