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:
@@ -66,7 +66,7 @@ interface MustacheStatement <: Statement {
|
|||||||
|
|
||||||
interface BlockStatement <: Statement {
|
interface BlockStatement <: Statement {
|
||||||
type: "BlockStatement";
|
type: "BlockStatement";
|
||||||
path: PathExpression;
|
path: PathExpression | Literal;
|
||||||
params: [ Expression ];
|
params: [ Expression ];
|
||||||
hash: Hash;
|
hash: Hash;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user