11 lines
No EOL
343 B
Text
11 lines
No EOL
343 B
Text
tests/cases/conformance/decorators/invalid/decoratorOnEnum.ts(4,6): error TS1206: Decorators are not valid here.
|
|
|
|
|
|
==== tests/cases/conformance/decorators/invalid/decoratorOnEnum.ts (1 errors) ====
|
|
declare function dec<T>(target: T): T;
|
|
|
|
@dec
|
|
enum E {
|
|
~
|
|
!!! error TS1206: Decorators are not valid here.
|
|
} |