ngrev
ngrev copied to clipboard
Template compile error: Function expressions are not supported in decorators
Though my project is compatible with the Angular's AoT compiler, I get the following parse error:
Looks like the key error here is: function expressions that are not supported in the decorators, in the app/app.module.ts file, line 45, which has following code (line 45 is useFactory):

Any Ideas? Oh, and thanks for providing such an amazing tool 😻
Do not use arrow function but a regular anonymous functions.