Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksei Pranko committed Aug 31, 2022
1 parent dea7205 commit e7951a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ declare module 'react-native-health' {
}

export interface Constants {
Activities: HealthActivity;
Observers: HealthObserver;
Permissions: HealthPermission;
Units: HealthUnit;
}
Activities: { [T in HealthActivity]: T };
Observers: { [T in HealthObserver]: T };
Permissions: { [T in HealthPermission]: T };
Units: { [T in HealthUnit]: T };
}

export interface HKErrorResponse {
message?: string;
Expand Down

0 comments on commit e7951a7

Please sign in to comment.