Skip to content

Commit 6cf5f9d

Browse files
authored
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} ```
1 parent 33ab3ae commit 6cf5f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/legacy/class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let metaProps = {
3333
* @template T
3434
* @param {!Object|!Array<!Object>} behaviors Behavior object or array of behaviors.
3535
* @param {function(new:T)} klass Element class.
36-
* @return {function(new:T)} Returns a new Element class extended by the
36+
* @return {?} Returns a new Element class extended by the
3737
* passed in `behaviors` and also by `LegacyElementMixin`.
3838
* @suppress {invalidCasts, checkTypes}
3939
*/

0 commit comments

Comments
 (0)