7 lines
190 B
Plaintext
7 lines
190 B
Plaintext
==== tests/cases/compiler/ClassDeclaration22.ts (1 errors) ====
|
|
class C {
|
|
"foo"();
|
|
"bar"() { }
|
|
~~~~~
|
|
!!! Function implementation name must be '"foo"'.
|
|
} |