From 6813a0b00e315f9b3fe86b13c46b8243d935874d Mon Sep 17 00:00:00 2001 From: Johan Gorter Date: Tue, 29 Aug 2017 16:22:41 +0200 Subject: [PATCH] Fixes #16255: DOM lib is missing Intersection Observer API on window global --- lib/lib.es6.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/lib.es6.d.ts b/lib/lib.es6.d.ts index b44acacc87259..51fb2aa2e4e3e 100644 --- a/lib/lib.es6.d.ts +++ b/lib/lib.es6.d.ts @@ -19034,6 +19034,9 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window readonly frameElement: Element; readonly frames: Window; readonly history: History; + readonly IntersectionObserver: { + new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver; + }; readonly innerHeight: number; readonly innerWidth: number; readonly isSecureContext: boolean;