fitbit-sdk-types
Advanced tools
Comparing version 3.2.3 to 3.2.4
{ | ||
"name": "fitbit-sdk-types", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>", | ||
@@ -5,0 +5,0 @@ "description": "Types for Fitbit SDK.", |
@@ -1,2 +0,6 @@ | ||
type BatchedReading<Reading> = { [P in keyof Reading]: Array<Reading[P]> }; | ||
type BatchedReading<Reading> = { | ||
[P in keyof Reading]: Reading[P] extends number | ||
? Float32Array | ||
: Array<Reading[P]> | ||
}; | ||
@@ -3,0 +7,0 @@ interface Sensor<BatchReading extends {}, EventMap = {}> |
@@ -1,4 +0,4 @@ | ||
// TypeScript Version: 2.3 | ||
// TypeScript Version: 2.8 | ||
/// <reference path="./device.d.ts" /> | ||
/// <reference path="./companion.d.ts" /> | ||
/// <reference path="./settings.d.ts" /> |
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
46870
1491