File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -4416,6 +4416,7 @@ interface DeviceMotionEvent extends Event {
44164416declare var DeviceMotionEvent: {
44174417 prototype: DeviceMotionEvent;
44184418 new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;
4419+ requestPermission(): Promise<PermissionState>;
44194420};
44204421
44214422interface DeviceMotionEventAcceleration {
@@ -4441,6 +4442,7 @@ interface DeviceOrientationEvent extends Event {
44414442declare var DeviceOrientationEvent: {
44424443 prototype: DeviceOrientationEvent;
44434444 new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
4445+ requestPermission(): Promise<PermissionState>;
44444446};
44454447
44464448/** Provides information about the rate at which the device is rotating around all three axes. */
Original file line number Diff line number Diff line change 145145 }
146146 }
147147 },
148- "DeviceMotionEvent" : {
149- "methods" : {
150- "method" : {
151- "requestPermission" : null
152- }
153- }
154- },
155- "DeviceOrientationEvent" : {
156- "methods" : {
157- "method" : {
158- "requestPermission" : null
159- }
160- }
161- },
162148 "FederatedCredential" : null ,
163149 "HTMLAreasCollection" : null ,
164150 "HTMLBodyElement" : {
You can’t perform that action at this time.
0 commit comments