Skip to content

Commit 7f3364e

Browse files
committed
tyxml-lwd: Update compatibility with latest Tyxml
1 parent a337a77 commit 7f3364e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

lib/tyxml-lwd/tyxml_lwd.ml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,9 @@ module Svg : sig
724724
val a : ([<a_attr], [<a_content], [>a]) star
725725
val view : ([<view_attr], [<descriptive_element], [>view]) star
726726
val script : ([<script_attr], [<script_content], [>script]) unary
727-
val animation :
728-
([<animation_attr], [<descriptive_element], [>animation]) star
727+
val animate : ([<animate_attr], [<descriptive_element], [>animate]) star
728+
val animation : ([<animation_attr], [<descriptive_element], [>animation]) star
729+
[@@ocaml.warning "-3"]
729730
val set : ([<set_attr], [<descriptive_element], [>set]) star
730731
val animateMotion :
731732
([<animatemotion_attr], [<animatemotion_content], [>animatemotion]) star
@@ -1064,7 +1065,9 @@ end = struct
10641065
let a = star Raw_svg.a
10651066
let view = star Raw_svg.view
10661067
let script = unary Raw_svg.script
1068+
let animate = star Raw_svg.animate
10671069
let animation = star Raw_svg.animation
1070+
[@@ocaml.warning "-3"]
10681071
let set = star Raw_svg.set
10691072
let animateMotion = star Raw_svg.animateMotion
10701073
let mpath = star Raw_svg.mpath
@@ -1177,7 +1180,7 @@ module Html : sig
11771180
val a_onkeyup : Xml.keyboard_event_handler -> [>`OnKeyUp] attrib
11781181
val a_allowfullscreen : unit -> [>`Allowfullscreen] attrib
11791182
val a_allowpaymentrequest : unit -> [>`Allowpaymentrequest] attrib
1180-
val a_autocomplete : bool Lwd.t -> [>`Autocomplete] attrib
1183+
val a_autocomplete : autocomplete_option Lwd.t -> [>`Autocomplete] attrib
11811184
val a_async : unit -> [>`Async] attrib
11821185
val a_autofocus : unit -> [>`Autofocus] attrib
11831186
val a_autoplay : unit -> [>`Autoplay] attrib

lib/tyxml-lwd/tyxml_lwd.mli

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,10 @@ module Svg : sig
379379
val a : ([<a_attr], [<a_content], [>a]) star
380380
val view : ([<view_attr], [<descriptive_element], [>view]) star
381381
val script : ([<script_attr], [<script_content], [>script]) unary
382+
val animate : ([<animate_attr], [<descriptive_element], [>animate]) star
382383
val animation :
383384
([<animation_attr], [<descriptive_element], [>animation]) star
385+
[@@ocaml.warning "-3"]
384386
val set : ([<set_attr], [<descriptive_element], [>set]) star
385387
val animateMotion :
386388
([<animatemotion_attr], [<animatemotion_content], [>animatemotion]) star
@@ -498,7 +500,7 @@ module Html : sig
498500
val a_onkeyup : Xml.keyboard_event_handler -> [>`OnKeyUp] attrib
499501
val a_allowfullscreen : unit -> [>`Allowfullscreen] attrib
500502
val a_allowpaymentrequest : unit -> [>`Allowpaymentrequest] attrib
501-
val a_autocomplete : bool Lwd.t -> [>`Autocomplete] attrib
503+
val a_autocomplete : autocomplete_option Lwd.t -> [>`Autocomplete] attrib
502504
val a_async : unit -> [>`Async] attrib
503505
val a_autofocus : unit -> [>`Autofocus] attrib
504506
val a_autoplay : unit -> [>`Autoplay] attrib

0 commit comments

Comments
 (0)