petit-dom: update for TS3.5 DOM changes (#34640)

This commit is contained in:
Nathan Shively-Sanders
2019-04-10 14:06:23 -07:00
committed by GitHub
parent 0f30820692
commit 2db6da876c
+2 -2
View File
@@ -154,8 +154,8 @@ export namespace PetitDom {
readonly props: P & IntrinsicProps;
}
interface DomElements extends HTMLElementTagNameMap, SVGElementTagNameMap {
"main": HTMLMainElement;
interface DomElements extends HTMLElementTagNameMap, Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, "a" | "script" | "style" | "title">> {
"main": HTMLElement;
}
}