ebondu / angular2-keycloak

Angular 2 Keycloak client wrapper
19 stars 26 forks source link

Replaced lambda function by exported function in the module definition. #7

Closed wezoEtienne closed 7 years ago

wezoEtienne commented 7 years ago

I noticed that some people (including me) have an error while using the module.

ERROR in 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 25:11 in the original .ts file), resolving symbol Ng2KeycloakModule in [...]/ng2-keycloak.module.ts

Replacing the lambda by an exported function fixes the problem.

ebondu commented 7 years ago

Thanks ;)