2015-03-25 01:00:29 +01:00
|
|
|
tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts(4,24): error TS1005: ',' expected.
|
|
|
|
|
|
|
|
|
2015-04-09 02:49:14 +02:00
|
|
|
==== tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts (1 errors) ====
|
2015-03-25 01:00:29 +01:00
|
|
|
declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void;
|
|
|
|
|
|
|
|
class C {
|
|
|
|
constructor(public @dec p: number) {}
|
|
|
|
~
|
|
|
|
!!! error TS1005: ',' expected.
|
2015-03-17 22:06:06 +01:00
|
|
|
}
|