2015-03-20 06:57:03 +01:00
|
|
|
tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts(3,9): error TS1109: Expression expected.
|
|
|
|
tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts(3,16): error TS1146: Declaration expected.
|
|
|
|
tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts(3,17): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts (3 errors) ====
|
|
|
|
declare function dec<T>(target: T): T;
|
|
|
|
|
|
|
|
var F = @dec () => {
|
|
|
|
~
|
|
|
|
!!! error TS1109: Expression expected.
|
|
|
|
|
|
|
|
!!! error TS1146: Declaration expected.
|
|
|
|
~~
|
|
|
|
!!! error TS1128: Declaration or statement expected.
|
2015-03-17 22:06:06 +01:00
|
|
|
}
|