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

7 lines
239 B
Plaintext

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