Skip to content

Commit b61a1bd

Browse files
committed
Fix static bootstrap method in template polyfill externs.
1 parent 639bfcd commit b61a1bd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/template/externs/template.d.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
* rights grant found at http://polymer.github.io/PATENTS.txt
1111
*/
1212

13-
// eslint-disable-next-line no-var
14-
declare var HTMLTemplateElement: {
15-
bootstrap(): void;
16-
};
13+
declare global {
14+
interface HTMLTemplateElementConstructor {
15+
bootstrap(): void;
16+
}
17+
}
18+
19+
export {};

0 commit comments

Comments
 (0)