Skip to content

Commit

Permalink
ext/typeexpr: correct examples in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
apparentlymart committed Apr 6, 2018
1 parent 5f8ed95 commit 9db880a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/typeexpr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9db880a

Please sign in to comment.