diff --git a/components/support/nimbus-fml/uniffi.toml b/components/support/nimbus-fml/uniffi.toml index 7fbb9a4f7f..2054510e56 100644 --- a/components/support/nimbus-fml/uniffi.toml +++ b/components/support/nimbus-fml/uniffi.toml @@ -9,7 +9,7 @@ # cdylib_name = "cirrus" [bindings.python.custom_types.JsonObject] -imports = ["json"] +imports = ["json", "typing"] into_custom = "json.loads({})" from_custom = "json.dumps({})" -type_name = "dict" +type_name = "typing.Dict[str, typing.Any]"