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 {
4416
4416
declare var DeviceMotionEvent: {
4417
4417
prototype: DeviceMotionEvent;
4418
4418
new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;
4419
+ requestPermission(): Promise<PermissionState>;
4419
4420
};
4420
4421
4421
4422
interface DeviceMotionEventAcceleration {
@@ -4441,6 +4442,7 @@ interface DeviceOrientationEvent extends Event {
4441
4442
declare var DeviceOrientationEvent: {
4442
4443
prototype: DeviceOrientationEvent;
4443
4444
new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
4445
+ requestPermission(): Promise<PermissionState>;
4444
4446
};
4445
4447
4446
4448
/** 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 145
145
}
146
146
}
147
147
},
148
- "DeviceMotionEvent" : {
149
- "methods" : {
150
- "method" : {
151
- "requestPermission" : null
152
- }
153
- }
154
- },
155
- "DeviceOrientationEvent" : {
156
- "methods" : {
157
- "method" : {
158
- "requestPermission" : null
159
- }
160
- }
161
- },
162
148
"FederatedCredential" : null ,
163
149
"HTMLAreasCollection" : null ,
164
150
"HTMLBodyElement" : {
You can’t perform that action at this time.
0 commit comments