Update src/client/config.mli

Co-authored-by: Corentin Leruth <corentin.leruth@gmail.com>
This commit is contained in:
Simon Cruanes 2025-06-11 09:20:22 -04:00 committed by GitHub
parent 0b2faca469
commit 48926c25e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,8 +110,8 @@ module type ENV = sig
; common: t
}
let make : (?new_field -> unit) make =
Env.make (fun common ?new_field () -> {new_field; common})
let make : (new_field:string -> unit) make =
Env.make (fun common ~new_field () -> {new_field; common})
let _example : extended_config =
make ~new_field:"foo" ~url_traces:"foo/bar" ~debug:true ()