10 lines
335 B
Plaintext
10 lines
335 B
Plaintext
tests/cases/conformance/decorators/invalid/decoratorOnVar.ts(3,1): error TS1206: Decorators are not valid here.
|
|
|
|
|
|
==== tests/cases/conformance/decorators/invalid/decoratorOnVar.ts (1 errors) ====
|
|
declare function dec<T>(target: T): T;
|
|
|
|
@dec
|
|
~
|
|
!!! error TS1206: Decorators are not valid here.
|
|
var x: number; |