You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PolymerElement function inside the @NgModule, the AoT compiles complains with the following message:
Error encountered resolving symbol values statically. Calling function 'PolymerElement', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function
@NgModule({
...
declarations: [
PolymerElement('paper-input') //This is what doesn't work with AoT
],
...
})
Solutions to this error message have been provided in: