Add more jsdoc for closure checks

1. add `@extends` for all polymer elements
2. add `@override` for all lifecycle methods
3. fix a wrong type in gr-auth

Change-Id: Id9dea76b169197084d2e0b5f267459cdc4aaec3e
This commit is contained in:
Tao Zhou
2020-01-12 15:20:39 +01:00
parent c4409bd739
commit ab57ce3744
168 changed files with 294 additions and 4 deletions

View File

@@ -49,6 +49,7 @@
},
},
/** @override */
detached() {
this._handleHideTooltip();
},

View File

@@ -540,6 +540,7 @@ shortcuts are.
}
},
/** @override */
attached() {
const shortcuts = shortcutManager.attachHost(this);
if (!shortcuts) { return; }
@@ -559,6 +560,7 @@ shortcuts are.
}
},
/** @override */
detached() {
if (shortcutManager.detachHost(this)) {
this.removeOwnKeyBindings();