Skip to content

Commit

Permalink
Merge pull request #66 from laffed/loaderclassDocs-correction
Browse files Browse the repository at this point in the history
Updated Docs
  • Loading branch information
ammarahm-ed authored Mar 9, 2021
2 parents 1b46310 + bedcfa7 commit cb414f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/loaderclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const MMKV = new MMKVStorage.Loader();

## initialize

Initialize the MMKV Instance with the selected properties. On promise resolve it will return an MMKV Instance that you can use.
Initialize the MMKV Instance with the selected properties. Returns an MMKV Instance that you can use.

```js
import MMKVStorage from "react-native-mmkv-storage";
Expand All @@ -24,7 +24,7 @@ const MMKV = new MMKVStorage.Loader();
MMKV.initialize();
```

**Returns:** `Promise<API>`
**Returns:** `API`

## withInstanceID

Expand Down

1 comment on commit cb414f0

@vercel
Copy link

@vercel vercel bot commented on cb414f0 Mar 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.