fitbit-sdk-types
Advanced tools
Comparing version 4.1.4 to 4.1.5
{ | ||
"name": "fitbit-sdk-types", | ||
"version": "4.1.4", | ||
"version": "4.1.5", | ||
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>", | ||
@@ -34,8 +34,8 @@ "description": "Types for Fitbit SDK.", | ||
"devDependencies": { | ||
"@types/node": "^11.13.4", | ||
"prettier": "^1.16.4", | ||
"tslint": "^5.15.0", | ||
"@types/node": "^11.13.8", | ||
"prettier": "^1.17.0", | ||
"tslint": "^5.16.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.4.3" | ||
"typescript": "^3.4.5" | ||
} | ||
} |
@@ -11,3 +11,3 @@ declare module 'accelerometer' { | ||
type AccelerometerConstructor = new (options?: SensorOptions) => Sensor< | ||
type Accelerometer = Sensor< | ||
AccelerometerReading, | ||
@@ -17,2 +17,6 @@ BatchedAccelerometerReading | ||
type AccelerometerConstructor = new ( | ||
options?: SensorOptions, | ||
) => Accelerometer; | ||
const Accelerometer: void | AccelerometerConstructor; | ||
@@ -19,0 +23,0 @@ |
@@ -9,7 +9,6 @@ declare module 'barometer' { | ||
type BarometerConstructor = new (options?: SensorOptions) => Sensor< | ||
BarometerReading, | ||
BatchedBarometerReading | ||
>; | ||
type Barometer = Sensor<BarometerReading, BatchedBarometerReading>; | ||
type BarometerConstructor = new (options?: SensorOptions) => Barometer; | ||
const Barometer: void | BarometerConstructor; | ||
@@ -16,0 +15,0 @@ |
@@ -6,7 +6,8 @@ declare module 'body-presence' { | ||
type BodyPresenceConstructor = new (options?: SensorOptions) => Sensor< | ||
BodyPresenceReading, | ||
never | ||
>; | ||
type BodyPresenceSensor = Sensor<BodyPresenceReading, never>; | ||
type BodyPresenceConstructor = new ( | ||
options?: SensorOptions, | ||
) => BodyPresenceSensor; | ||
const BodyPresenceSensor: void | BodyPresenceConstructor; | ||
@@ -13,0 +14,0 @@ |
@@ -11,7 +11,6 @@ declare module 'gyroscope' { | ||
type GyroscopeConstructor = new (options?: SensorOptions) => Sensor< | ||
GyroscopeReading, | ||
BatchedGyroscopeReading | ||
>; | ||
type Gyroscope = Sensor<GyroscopeReading, BatchedGyroscopeReading>; | ||
type GyroscopeConstructor = new (options?: SensorOptions) => Gyroscope; | ||
const Gyroscope: void | GyroscopeConstructor; | ||
@@ -18,0 +17,0 @@ |
@@ -9,3 +9,3 @@ declare module 'heart-rate' { | ||
type HeartRateSensorConstructor = new (options?: SensorOptions) => Sensor< | ||
type HeartRateSensor = Sensor< | ||
HeartRateSensorReading, | ||
@@ -15,2 +15,6 @@ BatchedHeartRateSensorReading | ||
type HeartRateSensorConstructor = new ( | ||
options?: SensorOptions, | ||
) => HeartRateSensor; | ||
const HeartRateSensor: void | HeartRateSensorConstructor; | ||
@@ -17,0 +21,0 @@ |
@@ -17,3 +17,3 @@ declare module 'orientation' { | ||
type OrientationSensorConstructor = new (options?: SensorOptions) => Sensor< | ||
type OrientationSensor = Sensor< | ||
OrientationSensorReading, | ||
@@ -23,2 +23,6 @@ BatchedOrientationSensorReading | ||
type OrientationSensorConstructor = new ( | ||
options?: SensorOptions, | ||
) => OrientationSensor; | ||
const OrientationSensor: void | OrientationSensorConstructor; | ||
@@ -25,0 +29,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48899
1578