From 8088a466cdc204bd97fe5614811619654088da84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Am=C3=A9rico?= Date: Thu, 21 Jul 2016 20:45:25 -0300 Subject: [PATCH] Update definition of BlockStatement.path As pointed in https://github.com/wycats/handlebars.js/issues/1237 BlockStatement.path accepts in practice PathExpression or Literal. Updates its definition to reflect this fact --- docs/compiler-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/compiler-api.md b/docs/compiler-api.md index 29382191e..c9d2e937f 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -66,7 +66,7 @@ interface MustacheStatement <: Statement { interface BlockStatement <: Statement { type: "BlockStatement"; - path: PathExpression; + path: PathExpression | Literal; params: [ Expression ]; hash: Hash;