TypeScript/tests/baselines/reference/decoratorOnClassConstructorParameter4.errors.txt
2015-04-08 22:06:55 -07:00

11 lines
511 B
Plaintext

tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts(4,24): error TS1005: ',' expected.
==== tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts (1 errors) ====
declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void;
class C {
constructor(public @dec p: number) {}
~
!!! error TS1005: ',' expected.
}