diff --git a/js/index.d.ts b/js/index.d.ts index 9e6cc65..7fe1451 100644 --- a/js/index.d.ts +++ b/js/index.d.ts @@ -1,3 +1,5 @@ +export const Platform = 'AppleHealth' | 'GoogleFit'; + const Errors = { ErrorHKNotAvailable: -100, ErrorMethodNotAvailable: -99, @@ -26,7 +28,6 @@ const PermissionAccesses = { export declare type PermissionAccesses = typeof PermissionAccesses[keyof typeof PermissionAccesses]; - export declare type Permission = { kind: PermissionKinds, access: PermissionAccesses,