From b74a43570ab2ca98ab7287c4c4c47980e649e6d3 Mon Sep 17 00:00:00 2001 From: Ben Brooks Date: Mon, 26 Mar 2018 18:01:49 -0700 Subject: [PATCH] Readme: Mustache.parse returns an array of Tokens In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b6ffb7a3..58fd66e26 100644 --- a/README.md +++ b/README.md @@ -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