Created
December 13, 2021 15:32
-
-
Save FunnyGhost/66d869c2ef301c3d01b14c48d8fcca4c to your computer and use it in GitHub Desktop.
App module overriding Language Service
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
@NgModule({ | |
imports: [ | |
... | |
], | |
declarations: [ | |
... | |
], | |
// Providers that are different between the Server and the Browser | |
providers: [ | |
... | |
{ provide: LanguageService, useClass: WebLanguageService }, | |
], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment