diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 2fcf7559f..8b70efe11 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -207,6 +207,7 @@ interface IDBObjectStoreParameters { } interface IntersectionObserverEntryInit { + isIntersecting: boolean; boundingClientRect?: DOMRectInit; intersectionRect?: DOMRectInit; rootBounds?: DOMRectInit; @@ -7211,6 +7212,7 @@ interface IntersectionObserverEntry { readonly rootBounds: ClientRect; readonly target: Element; readonly time: number; + readonly isIntersecting: boolean; } declare var IntersectionObserverEntry: { diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 9949f42b9..d164f4a76 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -1630,6 +1630,19 @@ "flavor": "Web", "type": "\"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\"" }, + { + "kind": "property", + "interface": "IntersectionObserverEntryInit", + "name": "isIntersecting", + "type": "boolean" + }, + { + "kind": "property", + "interface": "IntersectionObserverEntry", + "name": "isIntersecting", + "type": "boolean", + "readonly": true + }, { "kind": "property", "interface": "ValidityState",