Skip to content

Instantly share code, notes, and snippets.

@shaharkazaz
Created July 17, 2020 06:53
Show Gist options
  • Select an option

  • Save shaharkazaz/c6cf3cdfc24bc0b1db4080b07839c7df to your computer and use it in GitHub Desktop.

Select an option

Save shaharkazaz/c6cf3cdfc24bc0b1db4080b07839c7df to your computer and use it in GitHub Desktop.
adding the function transpiler
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