Skip to content

Commit

Permalink
Merge pull request #226 from TrangPham/patch-1
Browse files Browse the repository at this point in the history
Correct type for results of getMindfulSession
  • Loading branch information
macelai authored Jan 5, 2023
2 parents 90e0e69 + 501fe6d commit 1dbc199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ declare module 'react-native-health' {

getMindfulSession(
options: HealthInputOptions,
callback: (err: string, results: HealthValue) => void,
callback: (err: string, results: Array<HealthValue>) => void,
): void

saveMindfulSession(
Expand Down

0 comments on commit 1dbc199

Please sign in to comment.