Skip to content

Commit 377671f

Browse files
committed
Fix Typescript errors in index.d.ts
1 parent 77554da commit 377671f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.d.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { HealthInputOptions } from 'react-native-health'
2-
31
declare module 'react-native-health' {
42
export interface HealthKitPermissions {
53
permissions: {
@@ -472,7 +470,7 @@ declare module 'react-native-health' {
472470
export interface RecordMetadata {
473471
HKBloodGlucoseMealTime?: BloodGlucoseMealTime
474472
HKWasUserEntered?: boolean
475-
[key: string]: string | number | boolean
473+
[key: string]: string | number | boolean | undefined
476474
}
477475

478476
export interface HealthValue extends BaseValue {

0 commit comments

Comments
 (0)