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
I would cast the result of mixinBehaviors to a constructor that includes the generated interface. That way you don't need to redeclare anything. Getting mixinBehaviors to do this automatically seems potentially impossible.
I just filed #70 to address the fact that we don't declare the actual object representing the behavior (which is why you had to do Polymer['AppLocalizeBehavior']). In the short term you could do this, and then just remove it once the declarations include it:
So, unless I'm mistaken, since behaviors are declared as interfaces, we need to add stand-in declarations just as we did with PolymerTS:
Is this the correct way to use a behavior?
The text was updated successfully, but these errors were encountered: