Make the map term more specific

This commit is contained in:
Benedikt Reinartz 2020-03-08 13:14:17 +01:00 committed by GitHub
parent 04ea54a2b3
commit 6d71eeccf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@
-ifdef(maps_support). -ifdef(maps_support).
-type json_term() :: [{binary() | atom(), json_term()}] | [{},...] -type json_term() :: [{binary() | atom(), json_term()}] | [{},...]
| [json_term()] | [] | [json_term()] | []
| map() | #{ binary() | atom() => json_term() }
| true | false | null | true | false | null
| integer() | float() | integer() | float()
| binary() | atom() | binary() | atom()