JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsClassDeclaration { decorators: JsDecoratorList [], abstract_token: missing (optional), class_token: CLASS_KW@0..6 "class" [] [Whitespace(" ")], id: JsIdentifierBinding { name_token: IDENT@6..8 "A" [] [Whitespace(" ")], }, type_parameters: missing (optional), extends_clause: missing (optional), implements_clause: missing (optional), l_curly_token: L_CURLY@8..10 "{" [] [Whitespace(" ")], members: JsClassMemberList [ JsBogusMember { items: [ TsPropertySignatureModifierList [ TsAbstractModifier { modifier_token: ABSTRACT_KW@10..19 "abstract" [] [Whitespace(" ")], }, ], JsLiteralMemberName { value: IDENT@19..22 "foo" [] [], }, SEMICOLON@22..24 ";" [] [Whitespace(" ")], ], }, ], r_curly_token: R_CURLY@24..25 "}" [] [], }, ], eof_token: EOF@25..26 "" [Newline("\n")] [], } 0: JS_MODULE@0..26 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..25 0: JS_CLASS_DECLARATION@0..25 0: JS_DECORATOR_LIST@0..0 1: (empty) 2: CLASS_KW@0..6 "class" [] [Whitespace(" ")] 3: JS_IDENTIFIER_BINDING@6..8 0: IDENT@6..8 "A" [] [Whitespace(" ")] 4: (empty) 5: (empty) 6: (empty) 7: L_CURLY@8..10 "{" [] [Whitespace(" ")] 8: JS_CLASS_MEMBER_LIST@10..24 0: JS_BOGUS_MEMBER@10..24 0: TS_PROPERTY_SIGNATURE_MODIFIER_LIST@10..19 0: TS_ABSTRACT_MODIFIER@10..19 0: ABSTRACT_KW@10..19 "abstract" [] [Whitespace(" ")] 1: JS_LITERAL_MEMBER_NAME@19..22 0: IDENT@19..22 "foo" [] [] 2: SEMICOLON@22..24 ";" [] [Whitespace(" ")] 9: R_CURLY@24..25 "}" [] [] 4: EOF@25..26 "" [Newline("\n")] [] -- class_member_modifier.js:1:11 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Only abstract classes can have abstract members > 1 │ class A { abstract foo; } │ ^^^^^^^^ 2 │ -- class A { abstract foo; }