Skip to content

Commit

Permalink
Merge pull request #5458 from Polymer/templatize-root
Browse files Browse the repository at this point in the history
Add type jsdoc to templatize root property.
  • Loading branch information
aomarks authored Dec 14, 2018
2 parents b0c41d1 + 0da022f commit df6463d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
1 change: 1 addition & 0 deletions lib/utils/templatize.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class TemplateInstanceBase extends base {
constructor(props) {
super();
this._configureProperties(props);
/** @type {!StampedTemplate} */
this.root = this._stampTemplate(this.__dataHost);
// Save list of stamped children
let children = this.children = [];
Expand Down
28 changes: 7 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df6463d

Please sign in to comment.