Skip to content

Commit

Permalink
Lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Jul 27, 2018
1 parent 8b1e793 commit 73ae8b4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
6 changes: 5 additions & 1 deletion lib/mixins/gesture-event-listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const gestures = gestures$0;
* gesture events to nodes
*/
export const GestureEventListeners = dedupingMixin(
/** @param {function(new:HTMLElement)} superClass */
/**
* @template T
* @param {function(new:T)} superClass Class to apply mixin to.
* @return {function(new:T)} superClass with mixin applied.
*/
(superClass) => {
/**
* @polymer
Expand Down
9 changes: 7 additions & 2 deletions lib/mixins/properties-changed.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ const microtask = microTask;
* generated property accessors.
*/
export const PropertiesChanged = dedupingMixin(
/** @param {function(new:HTMLElement)} superClass */
/**
* @template T
* @param {function(new:T)} superClass Class to apply mixin to.
* @return {function(new:T)} superClass with mixin applied.
*/
(superClass) => {

/**
Expand Down Expand Up @@ -175,13 +179,14 @@ export const PropertiesChanged = dedupingMixin(
* bindings. `super.ready()` must be called to ensure the data system
* becomes enabled.
*
* @return {void|!Promise<void>}
* @return {void|!Promise<void>} void
* @public
* @override
*/
ready() {
this.__dataReady = true;
this._flushProperties();
return undefined;
}

/**
Expand Down
6 changes: 5 additions & 1 deletion lib/mixins/template-stamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ function createNodeEventHandler(context, eventName, methodName) {
* @summary Element class mixin that provides basic template parsing and stamping
*/
export const TemplateStamp = dedupingMixin(
/** @param {function(new:HTMLElement)} superClass */
/**
* @template T
* @param {function(new:T)} superClass Class to apply mixin to.
* @return {function(new:T)} superClass with mixin applied.
*/
(superClass) => {

/**
Expand Down

0 comments on commit 73ae8b4

Please sign in to comment.