mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +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 ->
|
| TArray t ->
|
||||||
Format.fprintf fmt "Js.array %@%@ Array.map (fun x -> %a x)"
|
Format.fprintf fmt "Js.array %@%@ Array.map (fun x -> %a x)"
|
||||||
format_typ_to_jsoo t
|
format_typ_to_jsoo t
|
||||||
|
| TDefault t -> format_typ_to_jsoo fmt t
|
||||||
| TAny | TTuple _ -> Format.fprintf fmt "Js.Unsafe.inject"
|
| TAny | TTuple _ -> Format.fprintf fmt "Js.Unsafe.inject"
|
||||||
| _ -> Format.fprintf fmt ""
|
| _ -> Format.fprintf fmt ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user