Skip to content

Commit bedcfa7

Browse files
committed
Updated Docs
- in loaderclass.md - initialize does not return a promise. Corrected to just return API class instance
1 parent 1b46310 commit bedcfa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/loaderclass.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const MMKV = new MMKVStorage.Loader();
1414

1515
## initialize
1616

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

1919
```js
2020
import MMKVStorage from "react-native-mmkv-storage";
@@ -24,7 +24,7 @@ const MMKV = new MMKVStorage.Loader();
2424
MMKV.initialize();
2525
```
2626

27-
**Returns:** `Promise<API>`
27+
**Returns:** `API`
2828

2929
## withInstanceID
3030

0 commit comments

Comments
 (0)