Skip to content

Commit

Permalink
The return type of mixinBehaviors is unknown
Browse files Browse the repository at this point in the history
It's more than just the input class. Leaving it unknown allows the user to add annotations like:

```
 * @constructor
 * @extends {Polymer.Element}
 * @implements {IronValidatableBehaviorInterface}
```
  • Loading branch information
rictic authored Aug 20, 2018
1 parent 33ab3ae commit 6cf5f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legacy/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand Down

0 comments on commit 6cf5f9d

Please sign in to comment.