Skip to content

Commit

Permalink
Update types.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 24, 2018
1 parent dfc8398 commit 7c147a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,10 @@ Polymer_ElementMixin._finalizeClass = function(){};
*/
Polymer_ElementMixin.createObservers = function(observers, dynamicFns){};
/**
* @return {!HTMLTemplateElement}
*/
Polymer_ElementMixin._getTemplateFromDomModule = function(){};
/**
* @param {string} cssText Text containing styling to process
* @param {string} baseURI Base URI to rebase CSS paths against
* @return {string}
Expand Down
8 changes: 8 additions & 0 deletions types/lib/mixins/element-mixin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ declare namespace Polymer {
*/
createObservers(observers: object|null, dynamicFns: object|null): void;

/**
* Look up template from dom-module for element
*
* @returns Template found in dom module, or
* undefined if not found
*/
_getTemplateFromDomModule(): HTMLTemplateElement;

/**
* Gather style text for a style element in the template.
*
Expand Down

0 comments on commit 7c147a7

Please sign in to comment.