Skip to content

Commit

Permalink
Merge pull request #4919 from Polymer/$-gives-element
Browse files Browse the repository at this point in the history
instance.$.foo should only give Elements
  • Loading branch information
dfreedm authored Nov 2, 2017
2 parents bf8b21b + cda62d5 commit fbebc59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ Polymer_ElementMixin.prototype.importPath;
/** @type {(StampedTemplate|HTMLElement|ShadowRoot)} */
Polymer_ElementMixin.prototype.root;

/** @type {!Object.<string, !Node>} */
/** @type {!Object.<string, !Element>} */
Polymer_ElementMixin.prototype.$;

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/mixins/element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
this.importPath;
/** @type {StampedTemplate | HTMLElement | ShadowRoot} */
this.root;
/** @type {!Object<string, !Node>} */
/** @type {!Object<string, !Element>} */
this.$;
}

Expand Down

0 comments on commit fbebc59

Please sign in to comment.