Error jwt-auth

$ ionic cordova build android --prod --release – -- --minSdkVersion=21
[INFO] Running app-scripts build: --prod --platform android --target cordova

[23:50:03] build prod started …
[23:50:03] clean started …
[23:50:03] clean finished in less than 1 ms
[23:50:03] copy started …
[23:50:03] ngc started …
Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 62:25 in the original .ts file), resolving symbol AppModule in C:/Users/dumorim/desktop/comandacliente/src/app/app.module.ts

Line 64 error tokenGetter: (() => localStorage.getItem(‘id_token’)),

      headerName: 'Authorization',
      headerPrefix: 'bearer',
      tokenName: 'token',
      globalHeaders: [{'Accept': 'application/json'}],
      tokenGetter: (() => localStorage.getItem('id_token')),
      noJwtError: true

I don’t see how this error message could possibly be clearer. It is telling you exactly what line is the problem and what to do about it: convert the inline function into an exported explicit one.

The error may be clear but I’m new to ionic and I do not know how to fix