From 9eeb8005e38673e90a854ff958cad0d16268f9fa Mon Sep 17 00:00:00 2001 From: Francesco-Voto Date: Thu, 3 Dec 2020 12:12:01 +0100 Subject: [PATCH] Add Platform to d.ts --- js/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,