From 534654de4d2a2f7331e0ddf2d75b63ec1ebfe962 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Tue, 17 Sep 2019 17:52:28 -0700 Subject: [PATCH] Move @private annotation to decorate class definition. Fixes CI issue with generate-types --- lib/utils/templatize.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/templatize.js b/lib/utils/templatize.js index 60a2a8b104..8ec2c2ba8a 100644 --- a/lib/utils/templatize.js +++ b/lib/utils/templatize.js @@ -398,8 +398,8 @@ function addPropagateEffects(target, templateInfo, options, methodHost) { // NOTE: due to https://github.com/google/closure-compiler/issues/2928, // combining the next two lines into one assignment causes a spurious // type error. - class TemplatizedTemplate extends templatizedBase {} /** @private */ + class TemplatizedTemplate extends templatizedBase {} klass = templateInfo.templatizeTemplateClass = TemplatizedTemplate; } else { /** @@ -413,8 +413,8 @@ function addPropagateEffects(target, templateInfo, options, methodHost) { // NOTE: due to https://github.com/google/closure-compiler/issues/2928, // combining the next two lines into one assignment causes a spurious // type error. - class TemplatizedTemplateExtension extends templatizedBase {} /** @private */ + class TemplatizedTemplateExtension extends templatizedBase {} klass = templateInfo.templatizeTemplateClass = TemplatizedTemplateExtension; }