From 873bf284bac01dba8506bb866ccfd22b7f5a19b6 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 13 Mar 2017 17:52:12 -0700 Subject: [PATCH] Fix spec for ClassMethod: It doesn't have a function, it *is* a function. (#406) [skip ci] --- ast/spec.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ast/spec.md b/ast/spec.md index 2e0becb5b4..c004ac452c 100644 --- a/ast/spec.md +++ b/ast/spec.md @@ -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;