11 lines
No EOL
511 B
Text
11 lines
No EOL
511 B
Text
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.
|
|
} |