Fix spec for ClassMethod: It doesn't have a function, it *is* a function. (#406) [skip ci]
This commit is contained in:
parent
a5386433e1
commit
873bf284ba
@ -1022,10 +1022,9 @@ interface ClassBody <: Node {
|
|||||||
## ClassMethod
|
## ClassMethod
|
||||||
|
|
||||||
```js
|
```js
|
||||||
interface ClassMethod <: Node {
|
interface ClassMethod <: Function {
|
||||||
type: "ClassMethod";
|
type: "ClassMethod";
|
||||||
key: Expression;
|
key: Expression;
|
||||||
value: FunctionExpression;
|
|
||||||
kind: "constructor" | "method" | "get" | "set";
|
kind: "constructor" | "method" | "get" | "set";
|
||||||
computed: boolean;
|
computed: boolean;
|
||||||
static: boolean;
|
static: boolean;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user