mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Fix api_web plugin
This commit is contained in:
parent
c4715ea86e
commit
4ececf9960
@ -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 ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user