File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public typealias CorrelationResultsHandler = (
150
150
- statistics: statistics. Nil by default
151
151
- error: error (optional)
152
152
*/
153
- public typealias StatisticsCompeltionHandler = (
153
+ public typealias StatisticsCompletionHandler = (
154
154
_ statistics: Statistics ? ,
155
155
_ error: Error ?
156
156
) -> Void
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ public class HealthKitReader {
381
381
type: QuantityType ,
382
382
unit: String ,
383
383
predicate: NSPredicate ? = . allSamples,
384
- completionHandler: @escaping StatisticsCompeltionHandler
384
+ completionHandler: @escaping StatisticsCompletionHandler
385
385
) throws -> StatisticsQuery {
386
386
guard let quantityType = type. original as? HKQuantityType else {
387
387
throw HealthKitError . invalidType (
@@ -434,7 +434,7 @@ public class HealthKitReader {
434
434
enumerateTo: Date ,
435
435
intervalComponents: DateComponents ,
436
436
monitorUpdates: Bool = false ,
437
- enumerationBlock: @escaping StatisticsCompeltionHandler
437
+ enumerationBlock: @escaping StatisticsCompletionHandler
438
438
) throws -> StatisticsCollectionQuery {
439
439
guard let quantityType = type. original as? HKQuantityType else {
440
440
throw HealthKitError . invalidType (
You can’t perform that action at this time.
0 commit comments