Skip to content

Commit

Permalink
Merge pull request #5586 from Polymer/closure-TemplateInfo
Browse files Browse the repository at this point in the history
Add type for TemplateInfo#parent.
  • Loading branch information
kevinpschaaf authored Sep 4, 2019
2 parents f0bffbf + 5d6f34f commit c0f86cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions externs/polymer-internal-shared-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,13 @@ TemplateInfo.prototype.hostProps;
/** @type {!Object} */
TemplateInfo.prototype.propertyEffects;
/** @type {TemplateInfo | undefined} */
TemplateInfo.prototype.nextTemplateInfo;
TemplateInfo.prototype.nextSibling;
/** @type {TemplateInfo | undefined} */
TemplateInfo.prototype.previousTemplateInfo;
TemplateInfo.prototype.previousSibling;
/** @type {TemplateInfo | undefined} */
TemplateInfo.prototype.firstChild;
/** @type {TemplateInfo | undefined} */
TemplateInfo.prototype.parent;
/** @type {!Array<!Node>} */
TemplateInfo.prototype.childNodes;
/** @type {boolean} */
Expand Down
2 changes: 0 additions & 2 deletions interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ export interface TemplateInfo {
hasInsertionPoint?: boolean;
hostProps: Object;
propertyEffects: Object;
nextTemplateInfo?: TemplateInfo;
previousTemplateInfo?: TemplateInfo;
childNodes: Node[];
wasPreBound: boolean;
}
Expand Down

0 comments on commit c0f86cc

Please sign in to comment.