Last active
July 28, 2019 13:27
-
-
Save arturovt/f639a0372bb3624901d0f25ba68212fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class AppModule { | |
| public static ngModuleDef = defineNgModule({ | |
| type: AppModule, | |
| imports: [BrowserModule], | |
| declarations: [AppComponent], | |
| bootstrap: [AppComponent] | |
| }); | |
| public static ngInjectorDef = defineInjector({ | |
| factory: () => new AppModule(), | |
| imports: [BrowserModule] | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment