Skip to content

Commit 1dbc199

Browse files
authored
Merge pull request #226 from TrangPham/patch-1
Correct type for results of getMindfulSession
2 parents 90e0e69 + 501fe6d commit 1dbc199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ declare module 'react-native-health' {
329329

330330
getMindfulSession(
331331
options: HealthInputOptions,
332-
callback: (err: string, results: HealthValue) => void,
332+
callback: (err: string, results: Array<HealthValue>) => void,
333333
): void
334334

335335
saveMindfulSession(

0 commit comments

Comments
 (0)