Skip to content

Commit

Permalink
Move @Private annotation to decorate class definition.
Browse files Browse the repository at this point in the history
Fixes CI issue with generate-types
  • Loading branch information
kevinpschaaf authored Sep 18, 2019
1 parent 5382e2c commit 534654d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/templatize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand All @@ -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;
}
Expand Down

0 comments on commit 534654d

Please sign in to comment.