TypeScript/tests/baselines/reference/parserClassDeclaration22.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
250 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration22.ts (1 errors) ====
class C {
"foo"();
"bar"() { }
~~~~~
!!! error TS2389: Function implementation name must be '"foo"'.
}