@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
15 lines (10 loc) • 421 B
text/typescript
import Native from '../native-types'
import type { HKQuantityTypeIdentifier } from '../native-types'
export type DeleteQuantitySampleFn = <
TIdentifier extends HKQuantityTypeIdentifier
>(
identifier: TIdentifier,
uuid: string
) => Promise<boolean>
const deleteQuantitySample: DeleteQuantitySampleFn = async (identifier, uuid) => Native.deleteQuantitySample(identifier, uuid)
export default deleteQuantitySample