summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMartin Atkins <mart@degeneration.co.uk>2018-04-05 19:34:53 -0700
committerGitHub <noreply@github.com>2018-04-05 19:34:53 -0700
commit9db880accff19d9bd953958df738ef0c02b4a311 (patch)
treeeee8891735b7fdeccea4cfd2f85de8b8264dfbde /ext
parent5f8ed954abd873b2c09616ba0aa607892bbca7e9 (diff)
ext/typeexpr: correct examples in the README
Diffstat (limited to 'ext')
-rw-r--r--ext/typeexpr/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/typeexpr/README.md b/ext/typeexpr/README.md
index 7c4d693..ff2b3f2 100644
--- a/ext/typeexpr/README.md
+++ b/ext/typeexpr/README.md
@@ -55,8 +55,8 @@ in a type expression:
For example:
* `list(string)`
-* `object({"name":string,"age":number})`
-* `map(object({"name":string,"age":number}))`
+* `object({name=string,age=number})`
+* `map(object({name=string,age=number}))`
Note that the object constructor syntax is not fully-general for all possible
object types because it requires the attribute names to be valid identifiers.