JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsClassDeclaration { decorators: JsDecoratorList [], abstract_token: ABSTRACT_KW@0..9 "abstract" [] [Whitespace(" ")], class_token: CLASS_KW@9..15 "class" [] [Whitespace(" ")], id: JsIdentifierBinding { name_token: IDENT@15..17 "A" [] [Whitespace(" ")], }, type_parameters: missing (optional), extends_clause: missing (optional), implements_clause: missing (optional), l_curly_token: L_CURLY@17..18 "{" [] [], members: JsClassMemberList [ JsBogusMember { items: [ TsPropertySignatureModifierList [ TsAbstractModifier { modifier_token: ABSTRACT_KW@18..32 "abstract" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")], }, ], JsLiteralMemberName { value: IDENT@32..36 "name" [] [], }, TsTypeAnnotation { colon_token: COLON@36..38 ":" [] [Whitespace(" ")], ty: TsStringType { string_token: STRING_KW@38..45 "string" [] [Whitespace(" ")], }, }, JsInitializerClause { eq_token: EQ@45..47 "=" [] [Whitespace(" ")], expression: JsStringLiteralExpression { value_token: JS_STRING_LITERAL@47..49 "\"\"" [] [], }, }, SEMICOLON@49..50 ";" [] [], ], }, ], r_curly_token: R_CURLY@50..52 "}" [Newline("\n")] [], }, ], eof_token: EOF@52..53 "" [Newline("\n")] [], } 0: JS_MODULE@0..53 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..52 0: JS_CLASS_DECLARATION@0..52 0: JS_DECORATOR_LIST@0..0 1: ABSTRACT_KW@0..9 "abstract" [] [Whitespace(" ")] 2: CLASS_KW@9..15 "class" [] [Whitespace(" ")] 3: JS_IDENTIFIER_BINDING@15..17 0: IDENT@15..17 "A" [] [Whitespace(" ")] 4: (empty) 5: (empty) 6: (empty) 7: L_CURLY@17..18 "{" [] [] 8: JS_CLASS_MEMBER_LIST@18..50 0: JS_BOGUS_MEMBER@18..50 0: TS_PROPERTY_SIGNATURE_MODIFIER_LIST@18..32 0: TS_ABSTRACT_MODIFIER@18..32 0: ABSTRACT_KW@18..32 "abstract" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")] 1: JS_LITERAL_MEMBER_NAME@32..36 0: IDENT@32..36 "name" [] [] 2: TS_TYPE_ANNOTATION@36..45 0: COLON@36..38 ":" [] [Whitespace(" ")] 1: TS_STRING_TYPE@38..45 0: STRING_KW@38..45 "string" [] [Whitespace(" ")] 3: JS_INITIALIZER_CLAUSE@45..49 0: EQ@45..47 "=" [] [Whitespace(" ")] 1: JS_STRING_LITERAL_EXPRESSION@47..49 0: JS_STRING_LITERAL@47..49 "\"\"" [] [] 4: SEMICOLON@49..50 ";" [] [] 9: R_CURLY@50..52 "}" [Newline("\n")] [] 4: EOF@52..53 "" [Newline("\n")] [] -- ts_abstract_property_cannot_have_initiliazers.ts:2:27 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Property cannot have an initializer because it is marked abstract. 1 │ abstract class A { > 2 │ abstract name: string = ""; │ ^^^^ 3 │ } 4 │ -- abstract class A { abstract name: string = ""; }