Skip to content

Commit 03ae1cc

Browse files
feat(dom): add createTemplateElement
1 parent c6349be commit 03ae1cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ interface Dom {
266266
*/
267267
createDocumentFragment(): DocumentFragment;
268268
/**
269+
* Creates a new HTMLTemplateElement.
270+
* @return An HTMLTemplateElement.
271+
*/
272+
createTemplateElement(): HTMLTemplateElement
273+
/**
269274
* Creates a new MutationObserver.
270275
* @param callback A callback that will recieve the change records with the mutations.
271276
* @return A MutationObservere.

0 commit comments

Comments
 (0)