Skip to content

Commit 85a2c2d

Browse files
bbrooksphillipj
authored andcommitted
Readme: Mustache.parse returns an array of Tokens (#657)
In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens.
1 parent 3fddfb1 commit 85a2c2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,12 @@ Mustache.render(
125125
Mustache.parse(
126126
template : String,
127127
tags = ['{{', '}}'] : Tags,
128-
) => String
128+
) => Token[]
129+
130+
interface Token [String, String, Number, Number, Token[]?, Number?]
129131

130132
interface Tags [String, String]
133+
131134
```
132135
133136
## Templates

0 commit comments

Comments
 (0)