Skip to content

Commit 2eb71c6

Browse files
authored
docs: improve docs
add optional options
1 parent d8a5eac commit 2eb71c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/saveWeight.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Example input options:
99
```javascript
1010
let options = {
1111
value: 200,
12+
unit: AppleHealthKit.Constants.Units.gram, // optional; default pounds
13+
startDate: new Date(2021, 0, 0).toISOString() // optional; default now
1214
}
1315
```
1416

0 commit comments

Comments
 (0)