-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already created
Description
TypeScript Version: 3.0.0-dev.201xxxxx
Search Terms:
- PerformanceObserver
- performance observer
Code
let ob1 = new window.PerformanceObserver(); // property 'PerformanceObserver' does not exist on type 'Window'Expected behavior:
PerformanceObserver (and residual interfaces) are defined on Window.
Actual behavior:
Currently, this is only defined in lib.webworker.d.ts. PerformanceObserver should also be defined on Window in lib.dom.d.ts as it is not an experimental technology according to MDN.
Playground Link: http://www.typescriptlang.org/play/#src=let%20ob1%20%3D%20new%20window.PerformanceObserver()%3B
Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already created