diff --git a/lib/dom_html.ml b/lib/dom_html.ml index a9b4d2ce5b..32d3dc03a0 100644 --- a/lib/dom_html.ml +++ b/lib/dom_html.ml @@ -288,9 +288,9 @@ end and storageEvent = object inherit event - method key : js_string t readonly_prop + method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop - method keynewValue : js_string t opt readonly_prop + method newValue : js_string t opt readonly_prop method url : js_string t readonly_prop method storageArea : storage t opt readonly_prop end diff --git a/lib/dom_html.mli b/lib/dom_html.mli index 38e659acff..afe4dea765 100644 --- a/lib/dom_html.mli +++ b/lib/dom_html.mli @@ -297,9 +297,9 @@ end and storageEvent = object inherit event - method key : js_string t readonly_prop + method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop - method keynewValue : js_string t opt readonly_prop + method newValue : js_string t opt readonly_prop method url : js_string t readonly_prop method storageArea : storage t opt readonly_prop end