Skip to content

Commit

Permalink
Readme: Mustache.parse returns an array of Tokens (#657)
Browse files Browse the repository at this point in the history
In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens.
  • Loading branch information
bbrooks authored and phillipj committed Jun 18, 2018
1 parent 3fddfb1 commit 85a2c2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -125,9 +125,12 @@ Mustache.render(
Mustache.parse(
template : String,
tags = ['{{', '}}'] : Tags,
) => String
) => Token[]

interface Token [String, String, Number, Number, Token[]?, Number?]

interface Tags [String, String]

```
## Templates
Expand Down

0 comments on commit 85a2c2d

Please sign in to comment.