Skip to content

Commit 501fe6d

Browse files
authored
Correct type for results of getMindfulSession
1 parent 4e22d36 commit 501fe6d

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
@@ -324,7 +324,7 @@ declare module 'react-native-health' {
324324

325325
getMindfulSession(
326326
options: HealthInputOptions,
327-
callback: (err: string, results: HealthValue) => void,
327+
callback: (err: string, results: Array<HealthValue>) => void,
328328
): void
329329

330330
saveMindfulSession(

0 commit comments

Comments
 (0)