TypeScript/tests/baselines/reference/parserParameterList14.errors.txt

6 lines
265 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList14.ts (1 errors) ====
declare class C {
foo(a = 1): void;
~~~~~
!!! A parameter initializer is only allowed in a function or constructor implementation.
}