From f6bc79c622ce329066166f5b5aee9e8efd40d6f9 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Mon, 27 Jun 2016 02:45:43 -0400 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1947d9e..ac1e424 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ AppleHealthKit.isAvailable((err: string, available: bool) => { } }); ``` - +___ **`initHealthKit`** : check if HealthKit is available on the device @@ -97,7 +97,9 @@ let healthKitOptions = { write: ["Weight"] } }; +``` +```javascript AppleHealthKit.initHealthKit(healthKitOptions: object, (err: string, res: object) => { if(err) { console.log("error initializing healthkit: ", err); -- 2.26.2