|
1 | 1 | esDecorators-arguments.ts(1,2): error TS1238: Unable to resolve signature of class decorator when called as an expression.
|
2 | 2 | The runtime will invoke the decorator with 2 arguments, but the decorator expects 0.
|
3 |
| -esDecorators-arguments.ts(2,2): error TS1238: Unable to resolve signature of class decorator when called as an expression. |
4 |
| - The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. |
5 | 3 | esDecorators-arguments.ts(4,1): error TS1238: Unable to resolve signature of class decorator when called as an expression.
|
6 | 4 | The runtime will invoke the decorator with 2 arguments, but the decorator expects 3.
|
7 | 5 | esDecorators-arguments.ts(5,1): error TS1238: Unable to resolve signature of class decorator when called as an expression.
|
8 | 6 | The runtime will invoke the decorator with 2 arguments, but the decorator expects at least 3.
|
9 | 7 |
|
10 | 8 |
|
11 |
| -==== esDecorators-arguments.ts (4 errors) ==== |
| 9 | +==== esDecorators-arguments.ts (3 errors) ==== |
12 | 10 | @(() => {})
|
13 | 11 | ~~~~~~~~~~
|
14 | 12 | !!! error TS1238: Unable to resolve signature of class decorator when called as an expression.
|
15 | 13 | !!! error TS1238: The runtime will invoke the decorator with 2 arguments, but the decorator expects 0.
|
16 | 14 | @((a: any) => {})
|
17 |
| - ~~~~~~~~~~~~~~~~ |
18 |
| -!!! error TS1238: Unable to resolve signature of class decorator when called as an expression. |
19 |
| -!!! error TS1238: The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. |
20 | 15 | @((a: any, b: any) => {})
|
21 | 16 | @((a: any, b: any, c: any) => {})
|
22 | 17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
0 commit comments