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..33 "abstract" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")], }, ], JsLiteralMemberName { value: IDENT@33..37 "name" [] [], }, JsBogus { items: [ BANG@37..38 "!" [] [], TsTypeAnnotation { colon_token: COLON@38..40 ":" [] [Whitespace(" ")], ty: TsStringType { string_token: STRING_KW@40..46 "string" [] [], }, }, ], }, SEMICOLON@46..47 ";" [] [], ], }, ], r_curly_token: R_CURLY@47..49 "}" [Newline("\n")] [], }, ], eof_token: EOF@49..50 "" [Newline("\n")] [], } 0: JS_MODULE@0..50 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..49 0: JS_CLASS_DECLARATION@0..49 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..47 0: JS_BOGUS_MEMBER@18..47 0: TS_PROPERTY_SIGNATURE_MODIFIER_LIST@18..33 0: TS_ABSTRACT_MODIFIER@18..33 0: ABSTRACT_KW@18..33 "abstract" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")] 1: JS_LITERAL_MEMBER_NAME@33..37 0: IDENT@33..37 "name" [] [] 2: JS_BOGUS@37..46 0: BANG@37..38 "!" [] [] 1: TS_TYPE_ANNOTATION@38..46 0: COLON@38..40 ":" [] [Whitespace(" ")] 1: TS_STRING_TYPE@40..46 0: STRING_KW@40..46 "string" [] [] 3: SEMICOLON@46..47 ";" [] [] 9: R_CURLY@47..49 "}" [Newline("\n")] [] 4: EOF@49..50 "" [Newline("\n")] [] -- ts_abstract_property_cannot_be_definite.ts:2:19 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × A definite assignment operator '!' cannot appear on an 'abstract' property. 1 │ abstract class A { > 2 │ abstract name!: string; │ ^ 3 │ } 4 │ -- abstract class A { abstract name!: string; }