Fix api_web plugin

This commit is contained in:
Louis Gesbert 2023-11-08 11:47:31 +01:00
parent c4715ea86e
commit 4ececf9960

View File

@ -93,6 +93,7 @@ module To_jsoo = struct
| TArray t ->
Format.fprintf fmt "Js.array %@%@ Array.map (fun x -> %a x)"
format_typ_to_jsoo t
| TDefault t -> format_typ_to_jsoo fmt t
| TAny | TTuple _ -> Format.fprintf fmt "Js.Unsafe.inject"
| _ -> Format.fprintf fmt ""