@@ -345,10 +345,6 @@ interface DelayOptions extends AudioNodeOptions {
345
345
maxDelayTime?: number;
346
346
}
347
347
348
- interface DeviceLightEventInit extends EventInit {
349
- value?: number;
350
- }
351
-
352
348
interface DeviceMotionEventAccelerationInit {
353
349
x?: number | null;
354
350
y?: number | null;
@@ -4291,16 +4287,6 @@ declare var DeviceAcceleration: {
4291
4287
new(): DeviceAcceleration;
4292
4288
};
4293
4289
4294
- /** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability. */
4295
- interface DeviceLightEvent extends Event {
4296
- readonly value: number;
4297
- }
4298
-
4299
- declare var DeviceLightEvent: {
4300
- prototype: DeviceLightEvent;
4301
- new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;
4302
- };
4303
-
4304
4290
/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */
4305
4291
interface DeviceMotionEvent extends Event {
4306
4292
readonly acceleration: DeviceMotionEventAcceleration | null;
@@ -4635,7 +4621,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4635
4621
createEvent(eventInterface: "CloseEvent"): CloseEvent;
4636
4622
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
4637
4623
createEvent(eventInterface: "CustomEvent"): CustomEvent;
4638
- createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
4639
4624
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
4640
4625
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
4641
4626
createEvent(eventInterface: "DragEvent"): DragEvent;
@@ -4885,7 +4870,6 @@ interface DocumentEvent {
4885
4870
createEvent(eventInterface: "CloseEvent"): CloseEvent;
4886
4871
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
4887
4872
createEvent(eventInterface: "CustomEvent"): CustomEvent;
4888
- createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
4889
4873
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
4890
4874
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
4891
4875
createEvent(eventInterface: "DragEvent"): DragEvent;
@@ -18380,7 +18364,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
18380
18364
"compassneedscalibration": Event;
18381
18365
"contextmenu": MouseEvent;
18382
18366
"dblclick": MouseEvent;
18383
- "devicelight": DeviceLightEvent;
18384
18367
"devicemotion": DeviceMotionEvent;
18385
18368
"deviceorientation": DeviceOrientationEvent;
18386
18369
"deviceorientationabsolute": DeviceOrientationEvent;
@@ -18495,7 +18478,6 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
18495
18478
readonly navigator: Navigator;
18496
18479
offscreenBuffering: string | boolean;
18497
18480
oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
18498
- ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
18499
18481
ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
18500
18482
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
18501
18483
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
@@ -19535,7 +19517,6 @@ declare const name: void;
19535
19517
declare var navigator: Navigator;
19536
19518
declare var offscreenBuffering: string | boolean;
19537
19519
declare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
19538
- declare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
19539
19520
declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
19540
19521
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
19541
19522
declare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
0 commit comments