Created
July 17, 2020 06:53
-
-
Save shaharkazaz/c6cf3cdfc24bc0b1db4080b07839c7df to your computer and use it in GitHub Desktop.
adding the function transpiler
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
| import { FunctionalTranspiler, TRANSLOCO_TRANSPILER } from '@ngneat/transloco'; | |
| @NgModule({ | |
| ... | |
| providers: [{ | |
| provide: TRANSLOCO_TRANSPILER, | |
| useClass: FunctionalTranspiler | |
| }] | |
| }) | |
| export class TranslocoRootModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment