The return type of mixinBehaviors is unknown

It's more than just the input class. Leaving it unknown allows the user to add annotations like:

```
 * @constructor
 * @extends {Polymer.Element}
 * @implements {IronValidatableBehaviorInterface}
```
This commit is contained in:
Peter Burns
2018-08-20 10:24:34 -07:00
committed by GitHub
parent 33ab3ae6a3
commit 6cf5f9d05f
+1 -1
View File
@@ -33,7 +33,7 @@ let metaProps = {
* @template T
* @param {!Object|!Array<!Object>} behaviors Behavior object or array of behaviors.
* @param {function(new:T)} klass Element class.
* @return {function(new:T)} Returns a new Element class extended by the
* @return {?} Returns a new Element class extended by the
* passed in `behaviors` and also by `LegacyElementMixin`.
* @suppress {invalidCasts, checkTypes}
*/