From 11b2893419c2bc12869ceb8c66c477947d7f0aba Mon Sep 17 00:00:00 2001 From: bro314 Date: Tue, 9 Apr 2019 16:09:29 +0200 Subject: [PATCH 1/3] Fix type of template getter in element-mixin.html --- lib/mixins/element-mixin.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index ae7db9423d..e61828d86c 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -408,7 +408,7 @@ * } * } * - * @return {HTMLTemplateElement|string} Template to be stamped + * @return {!HTMLTemplateElement|string} Template to be stamped */ static get template() { // Explanation of template-related properties: From fb44ed33463a2d67b7e3d9dffd181c959021cc08 Mon Sep 17 00:00:00 2001 From: bro314 Date: Tue, 9 Apr 2019 20:42:55 +0200 Subject: [PATCH 2/3] Update element-mixin.html --- lib/mixins/element-mixin.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index e61828d86c..e72f6fc2c3 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -408,7 +408,7 @@ * } * } * - * @return {!HTMLTemplateElement|string} Template to be stamped + * @return {string|!HTMLTemplateElement|null|undefined} Template to be stamped */ static get template() { // Explanation of template-related properties: @@ -442,7 +442,7 @@ /** * Set the template. * - * @param {!HTMLTemplateElement|string} value Template to set. + * @param {string|!HTMLTemplateElement|null|undefined} value Template to set. */ static set template(value) { this._template = value; From cd9cb7d78d6f04b3fd4b2892d52752cf0616f7da Mon Sep 17 00:00:00 2001 From: bro314 Date: Tue, 9 Apr 2019 21:01:41 +0200 Subject: [PATCH 3/3] Update element-mixin.html --- lib/mixins/element-mixin.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index e72f6fc2c3..278703e526 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -408,7 +408,7 @@ * } * } * - * @return {string|!HTMLTemplateElement|null|undefined} Template to be stamped + * @return {HTMLTemplateElement|string} Template to be stamped */ static get template() { // Explanation of template-related properties: @@ -442,7 +442,7 @@ /** * Set the template. * - * @param {string|!HTMLTemplateElement|null|undefined} value Template to set. + * @param {HTMLTemplateElement|string} value Template to set. */ static set template(value) { this._template = value;