fitbit-sdk-types
Advanced tools
Comparing version 3.2.6 to 3.2.7
{ | ||
"name": "fitbit-sdk-types", | ||
"version": "3.2.6", | ||
"version": "3.2.7", | ||
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>", | ||
@@ -5,0 +5,0 @@ "description": "Types for Fitbit SDK.", |
@@ -15,3 +15,2 @@ declare module 'appbit' { | ||
const me: Appbit; | ||
export { me }; | ||
} |
declare module 'clock' { | ||
type Granularity = 'off' | 'seconds' | 'minutes' | 'hours'; | ||
interface TickEvent extends Event { | ||
export interface TickEvent extends Event { | ||
readonly date: Date; | ||
} | ||
interface Clock | ||
export interface Clock | ||
extends EventTarget<{ | ||
tick: TickEvent; | ||
}> { | ||
granularity: Granularity; | ||
granularity: 'off' | 'seconds' | 'minutes' | 'hours'; | ||
ontick: (event: TickEvent) => void; | ||
@@ -15,3 +14,3 @@ } | ||
const clock: Clock; | ||
export = clock; | ||
export default clock; | ||
} |
@@ -41,3 +41,3 @@ declare module 'exercise' { | ||
} | ||
interface Exercise | ||
export interface Exercise | ||
extends EventTarget<{ | ||
@@ -44,0 +44,0 @@ statechange: Event; |
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
47775
1521