Skip to content

Commit

Permalink
Fix arrow function body for directives
Browse files Browse the repository at this point in the history
3d0f13b changed the body of `FunctionExpression` and `FunctionDeclaration` `FunctionBody`, but didn't `ArrowFunctionExpression`'s. This commit fixes the body of `ArrowFunctionExpression`.
  • Loading branch information
mysticatea authored and mikesherov committed Sep 27, 2017
1 parent 3d0f13b commit 0832c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es2015.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extend interface Property {
```js
interface ArrowFunctionExpression <: Function, Expression {
type: "ArrowFunctionExpression";
body: BlockStatement | Expression;
body: FunctionBody | Expression;
expression: boolean;
}
```
Expand Down

0 comments on commit 0832c64

Please sign in to comment.