Skip to content

Commit 9f0fd38

Browse files
committed
Merge pull request #3775 from zhengbli/ms_issue3220
Move className and id from HTMLElement to Element
2 parents ea25ac4 + 91a138e commit 9f0fd38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/dom.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,6 +2711,8 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
27112711
scrollTop: number;
27122712
scrollWidth: number;
27132713
tagName: string;
2714+
id: string;
2715+
className: string;
27142716
getAttribute(name?: string): string;
27152717
getAttributeNS(namespaceURI: string, localName: string): string;
27162718
getAttributeNode(name: string): Attr;
@@ -3809,14 +3811,12 @@ declare var HTMLDocument: {
38093811
interface HTMLElement extends Element {
38103812
accessKey: string;
38113813
children: HTMLCollection;
3812-
className: string;
38133814
contentEditable: string;
38143815
dataset: DOMStringMap;
38153816
dir: string;
38163817
draggable: boolean;
38173818
hidden: boolean;
38183819
hideFocus: boolean;
3819-
id: string;
38203820
innerHTML: string;
38213821
innerText: string;
38223822
isContentEditable: boolean;
@@ -12535,7 +12535,6 @@ interface SVGLocatable {
1253512535
}
1253612536

1253712537
interface SVGStylable {
12538-
className: SVGAnimatedString;
1253912538
style: CSSStyleDeclaration;
1254012539
}
1254112540

0 commit comments

Comments
 (0)