Skip to content

Commit

Permalink
Fix Typescript errors in index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kristerkari committed Feb 13, 2023
1 parent 77554da commit 377671f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { HealthInputOptions } from 'react-native-health'

declare module 'react-native-health' {
export interface HealthKitPermissions {
permissions: {
Expand Down Expand Up @@ -472,7 +470,7 @@ declare module 'react-native-health' {
export interface RecordMetadata {
HKBloodGlucoseMealTime?: BloodGlucoseMealTime
HKWasUserEntered?: boolean
[key: string]: string | number | boolean
[key: string]: string | number | boolean | undefined
}

export interface HealthValue extends BaseValue {
Expand Down

0 comments on commit 377671f

Please sign in to comment.