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
This commit is contained in:
Luiz Américo
2016-07-21 20:45:25 -03:00
committed by GitHub
parent a6a0e50551
commit f2211ddd65
+1 -1
View File
@@ -66,7 +66,7 @@ interface MustacheStatement <: Statement {
interface BlockStatement <: Statement {
type: "BlockStatement";
path: PathExpression;
path: PathExpression | Literal;
params: [ Expression ];
hash: Hash;