Skip to content

Commit ae5a042

Browse files
authored
docs: API typos (#400)
1 parent bf0c254 commit ae5a042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static getItem(key: string, [callback]: ?(error: ?Error, result: ?string) => voi
2525
2626
`Promise` resolving with a string value, if entry exists for given `key`, or `null` otherwise.
2727
28-
`Promise` can be also rejects in case of underlying storage error.
28+
`Promise` can also be rejected in case of underlying storage error.
2929
3030
**Example**:
3131
@@ -82,7 +82,7 @@ static setItem(key: string, value: string, [callback]: ?(error: ?Error) => void)
8282
8383
`Promise` resolving when the set operation is completed.
8484
85-
`Promise` can be also rejects in case of underlying storage error.
85+
`Promise` can also be rejected in case of underlying storage error.
8686
8787
**Example**:
8888

0 commit comments

Comments
 (0)