Yes I know, I wanted to match closely the JS API at first but I think I’ll move to a module way with a type t like in the previous comments.
Thanks for your answers everyone 
Yes I know, I wanted to match closely the JS API at first but I think I’ll move to a module way with a type t like in the previous comments.
Thanks for your answers everyone 