mobxjs / mobx-angular

The MobX connector for Angular.
MIT License
483 stars 59 forks source link

Getting "Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function" #40

Closed skiv1102 closed 7 years ago

skiv1102 commented 7 years ago

I'm using angular-tree-component that have dependency on mobx-angular(v1.5.0) With angular 4.2.6 everything works fine, but with 4.3.0 i keep getting error:

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 194:50 in the original .ts file), resolving symbol NgModule in project/node_modules/mobx-angular/node_modules/@angular/core/core.d.ts, resolving symbol MobxAngularModule in project/node_modules/mobx-angular/dist/mobx-angular.d.ts, resolving symbol MobxAngularModule in project/node_modules/mobx-angular/dist/mobx-angular.d.ts

adamkleingit commented 7 years ago

Hi, please open this in angular-tree-component repository. BTW, try upgraing angular-tree-component to 5.0.0 and see if problem persists (see changelog for breaking changes)