Skip to content

Commit 0810bf3

Browse files
committed
Fix some Closure annotations
1 parent fe81676 commit 0810bf3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/legacy/legacy-element-mixin.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ export const LegacyElementMixin = dedupingMixin((base) => {
517517
* is contained. This is a shorthand for
518518
* `this.getRootNode().host`.
519519
* @this {Element}
520+
* @return {?Node}
520521
*/
521522
get domHost() {
522523
let root = wrap(this).getRootNode();
@@ -940,9 +941,9 @@ export const LegacyElementMixin = dedupingMixin((base) => {
940941
* Cross-platform helper for setting an element's CSS `translate3d`
941942
* property.
942943
*
943-
* @param {number} x X offset.
944-
* @param {number} y Y offset.
945-
* @param {number} z Z offset.
944+
* @param {number|string} x X offset.
945+
* @param {number|string} y Y offset.
946+
* @param {number|string} z Z offset.
946947
* @param {Element=} node Element to apply the transform to.
947948
* Defaults to `this`.
948949
* @return {void}

0 commit comments

Comments
 (0)