Skip to content

Commit c1855e0

Browse files
authored
Merge pull request #582 from xvw/fix-storageEvent
Lib: Change type of Dom_html.storageEvent
2 parents bbbb1a7 + d578837 commit c1855e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/dom_html.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@ end
288288

289289
and storageEvent = object
290290
inherit event
291-
method key : js_string t readonly_prop
291+
method key : js_string t opt readonly_prop
292292
method oldValue : js_string t opt readonly_prop
293-
method keynewValue : js_string t opt readonly_prop
293+
method newValue : js_string t opt readonly_prop
294294
method url : js_string t readonly_prop
295295
method storageArea : storage t opt readonly_prop
296296
end

lib/dom_html.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ end
297297

298298
and storageEvent = object
299299
inherit event
300-
method key : js_string t readonly_prop
300+
method key : js_string t opt readonly_prop
301301
method oldValue : js_string t opt readonly_prop
302-
method keynewValue : js_string t opt readonly_prop
302+
method newValue : js_string t opt readonly_prop
303303
method url : js_string t readonly_prop
304304
method storageArea : storage t opt readonly_prop
305305
end

0 commit comments

Comments
 (0)