9 lines
No EOL
521 B
Text
9 lines
No EOL
521 B
Text
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodWithImplementation.ts(2,5): error TS1240: Method 'foo' cannot have an implementation because it is marked abstract.
|
|
|
|
|
|
==== tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodWithImplementation.ts (1 errors) ====
|
|
abstract class A {
|
|
abstract foo() {}
|
|
~~~~~~~~~~~~~~~~~
|
|
!!! error TS1240: Method 'foo' cannot have an implementation because it is marked abstract.
|
|
} |