Skip to content

Commit bf5d496

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

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/template/externs/template.d.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
*/
1212

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

0 commit comments

Comments
 (0)