Skip to content

Commit

Permalink
Fix some Closure annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Jun 14, 2019
1 parent fe81676 commit 0810bf3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/legacy/legacy-element-mixin.js
Expand Up @@ -517,6 +517,7 @@ export const LegacyElementMixin = dedupingMixin((base) => {
* is contained. This is a shorthand for
* `this.getRootNode().host`.
* @this {Element}
* @return {?Node}
*/
get domHost() {
let root = wrap(this).getRootNode();
Expand Down Expand Up @@ -940,9 +941,9 @@ export const LegacyElementMixin = dedupingMixin((base) => {
* Cross-platform helper for setting an element's CSS `translate3d`
* property.
*
* @param {number} x X offset.
* @param {number} y Y offset.
* @param {number} z Z offset.
* @param {number|string} x X offset.
* @param {number|string} y Y offset.
* @param {number|string} z Z offset.
* @param {Element=} node Element to apply the transform to.
* Defaults to `this`.
* @return {void}
Expand Down

0 comments on commit 0810bf3

Please sign in to comment.