13 lines
No EOL
730 B
Text
13 lines
No EOL
730 B
Text
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5): error TS1224: Unable to resolve signature of method decorator when called as an expression.
|
|
Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
==== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts (1 errors) ====
|
|
declare function dec(): <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>;
|
|
|
|
class C {
|
|
@dec ["method"]() {}
|
|
~~~~
|
|
!!! error TS1224: Unable to resolve signature of method decorator when called as an expression.
|
|
!!! error TS1224: Supplied parameters do not match any signature of call target.
|
|
} |