Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-john-nguyen committed Jan 6, 2023
1 parent 89c66d2 commit 1e31b1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,13 @@ declare module 'react-native-health' {
locations: LocationValue[]
}

export type HKWorkoutEventType = {
endDate: string
startDate: string
eventTypeInt: number
eventType: string
}

export interface HKWorkoutQueriedSampleType {
activityId: number
activityName: string
Expand All @@ -511,6 +518,8 @@ declare module 'react-native-health' {
distance: number
start: string
end: string
duration: number
workoutEvents: HKWorkoutEventType[]
}


Expand Down

0 comments on commit 1e31b1d

Please sign in to comment.