@@ -358,10 +358,6 @@ interface DelayOptions extends AudioNodeOptions {
358
358
maxDelayTime?: number;
359
359
}
360
360
361
- interface DeviceLightEventInit extends EventInit {
362
- value?: number;
363
- }
364
-
365
361
interface DeviceMotionEventAccelerationInit {
366
362
x?: number | null;
367
363
y?: number | null;
@@ -4296,16 +4292,6 @@ declare var DeviceAcceleration: {
4296
4292
new(): DeviceAcceleration;
4297
4293
};
4298
4294
4299
- /** 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. */
4300
- interface DeviceLightEvent extends Event {
4301
- readonly value: number;
4302
- }
4303
-
4304
- declare var DeviceLightEvent: {
4305
- prototype: DeviceLightEvent;
4306
- new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;
4307
- };
4308
-
4309
4295
/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */
4310
4296
interface DeviceMotionEvent extends Event {
4311
4297
readonly acceleration: DeviceMotionEventAcceleration | null;
@@ -4640,7 +4626,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4640
4626
createEvent(eventInterface: "CloseEvent"): CloseEvent;
4641
4627
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
4642
4628
createEvent(eventInterface: "CustomEvent"): CustomEvent;
4643
- createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
4644
4629
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
4645
4630
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
4646
4631
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;
@@ -18216,7 +18200,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
18216
18200
"compassneedscalibration": Event;
18217
18201
"contextmenu": MouseEvent;
18218
18202
"dblclick": MouseEvent;
18219
- "devicelight": DeviceLightEvent;
18220
18203
"devicemotion": DeviceMotionEvent;
18221
18204
"deviceorientation": DeviceOrientationEvent;
18222
18205
"deviceorientationabsolute": DeviceOrientationEvent;
@@ -18313,7 +18296,6 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
18313
18296
readonly navigator: Navigator;
18314
18297
offscreenBuffering: string | boolean;
18315
18298
oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
18316
- ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
18317
18299
ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
18318
18300
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
18319
18301
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
@@ -19334,7 +19316,6 @@ declare const name: void;
19334
19316
declare var navigator: Navigator;
19335
19317
declare var offscreenBuffering: string | boolean;
19336
19318
declare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
19337
- declare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
19338
19319
declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
19339
19320
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
19340
19321
declare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
0 commit comments