Fix spec for ClassMethod: It doesn't have a function, it *is* a function. (#406) [skip ci]

This commit is contained in:
Andy 2017-03-13 17:52:12 -07:00 committed by Henry Zhu
parent a5386433e1
commit 873bf284ba

View File

@ -1022,10 +1022,9 @@ interface ClassBody <: Node {
## ClassMethod
```js
interface ClassMethod <: Node {
interface ClassMethod <: Function {
type: "ClassMethod";
key: Expression;
value: FunctionExpression;
kind: "constructor" | "method" | "get" | "set";
computed: boolean;
static: boolean;