mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-17 16:34:49 -05:00
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:
+1
-1
@@ -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}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user