Skip to content

Commit

Permalink
Correct device motion types
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Apr 17, 2020
1 parent 9c6913b commit 0c8a88c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/expo-sensors/build/DeviceMotion.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/expo-sensors/build/DeviceMotion.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/expo-sensors/src/DeviceMotion.ts
Expand Up @@ -2,7 +2,7 @@ import DeviceSensor from './DeviceSensor';
import ExponentDeviceMotion from './ExponentDeviceMotion';

export interface DeviceMotionMeasurement {
acceleration: {
acceleration: null | {
x: number;
y: number;
z: number;
Expand All @@ -20,7 +20,7 @@ export interface DeviceMotionMeasurement {
/**
* Device's rate of rotation in space expressed in degrees per second (deg/s).
*/
rotationRate: {
rotationRate: null | {
/**
* x axis rotation.
*/
Expand Down

0 comments on commit 0c8a88c

Please sign in to comment.