title: Angular2: ERROR in Error encountered resolving symbol values statically
body: <p>I am using angular/cli 1.3.2 and Angular 4.4.0.
  When I use an npm module <code>angular-split@0.2.2</code>,during compilation I met</p>
  
  <blockquote>
    <p>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
    path-to-project/node_modules/angular-split/node_modules/@angular/core/core.d.ts,
    resolving symbol AngularSplitModule in
    path-to-project/node_modules/angular-split/dist/angularSplit.module.d.ts,
    resolving symbol AngularSplitModule in
    path-to-project/node_modules/angular-split/dist/angularSplit.module.d.ts</p>
  </blockquote>
  
  <p>Here in file <code>angularSplit.module.d.ts</code> there is only one line of code:</p>
  
  <p><code>export declare class AngularSplitModule {}</code></p>
  
  <p>However, this error can be "resolved" by saving any file and trigger the recompile (weird).</p>
  
  <p>Then, when I open <code>localhost:4200</code> in the browser I will see another error:</p>
  
  <p><code>compiler.es5.js:1694 Uncaught Error: Unexpected value 'AngularSplitModule' imported by the module 'AppModule'. Please add a @NgModule annotation.</code></p>
  
  <p>From github and stackoverflow I found some similar problems but no one could tell the reason.</p>
  
  <p>This happened after I updated node/angular/angular-cli, but after I roll back it still didn't work.</p>
  
  <p>Does anyone know why this happened?</p>