Skip to content

Commit 9448e74

Browse files
committed
Add missing documentation for Dom.Storage.setItem in v8.0.0
1 parent f798d7a commit 9448e74

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pages/docs/manual/v8.0.0/api/dom/storage.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ type t
1212
external getItem: (string, t) => option<string> = "getItem"
1313
```
1414

15+
## setItem
16+
17+
```res sig
18+
external setItem: (string, string, t) => unit = "setItem"
19+
```
20+
1521
## removeItem
1622

1723
```re sig

pages/docs/manual/v8.0.0/api/dom/storage2.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ type t
1818
external getItem: (t, string) => option(string) = "getItem"
1919
```
2020
21+
## setItem
22+
23+
```res sig
24+
external setItem: (t, string, string) => unit = "setItem"
25+
```
26+
2127
## removeItem
2228

2329
```re sig

0 commit comments

Comments
 (0)