Skip to content

Commit

Permalink
Merge pull request #57 from kuba-orlik/correct-typo
Browse files Browse the repository at this point in the history
Correct a typo in README.md
  • Loading branch information
junosuarez committed Jul 1, 2016
2 parents cb7bd7e + 80a3abb commit 23996fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -163,7 +163,7 @@ type HttpServerRequest : {
url: String
}
endpoint : (req; HttpServerRequest, res: HttpServerResponse) => void
endpoint : (req: HttpServerRequest, res: HttpServerResponse) => void
```

Custom types can be named like function parameters using the `type` keyword and a colon character `:`, and should use PascalCase:
Expand Down

0 comments on commit 23996fd

Please sign in to comment.