@@ -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;
@@ -18380,7 +18366,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
18380
18366
"compassneedscalibration": Event;
18381
18367
"contextmenu": MouseEvent;
18382
18368
"dblclick": MouseEvent;
18383
- "devicelight": DeviceLightEvent;
18384
18369
"devicemotion": DeviceMotionEvent;
18385
18370
"deviceorientation": DeviceOrientationEvent;
18386
18371
"deviceorientationabsolute": DeviceOrientationEvent;
@@ -18495,7 +18480,6 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
18495
18480
readonly navigator: Navigator;
18496
18481
offscreenBuffering: string | boolean;
18497
18482
oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
18498
- ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
18499
18483
ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
18500
18484
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
18501
18485
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
@@ -19535,7 +19519,6 @@ declare const name: void;
19535
19519
declare var navigator: Navigator;
19536
19520
declare var offscreenBuffering: string | boolean;
19537
19521
declare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
19538
- declare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
19539
19522
declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
19540
19523
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
19541
19524
declare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
0 commit comments