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
|
||||
|
||||
```js
|
||||
interface ClassMethod <: Node {
|
||||
interface ClassMethod <: Function {
|
||||
type: "ClassMethod";
|
||||
key: Expression;
|
||||
value: FunctionExpression;
|
||||
kind: "constructor" | "method" | "get" | "set";
|
||||
computed: boolean;
|
||||
static: boolean;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user