Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25e9e06

Browse files
committedSep 30, 2017
Accepted baselines.
1 parent 966f370 commit 25e9e06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5): error TS1329: A decorator function must accept some number of arguments, but this expression takes none. Did you mean to call it first?
1+
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5): error TS1329: This function cannot be used as a decorator. Did you mean to call it first?
22

33

44
==== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts (1 errors) ====
@@ -7,5 +7,5 @@ tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts(4,5):
77
class C {
88
@dec ["method"]() {}
99
~~~~
10-
!!! error TS1329: A decorator function must accept some number of arguments, but this expression takes none. Did you mean to call it first?
10+
!!! error TS1329: This function cannot be used as a decorator. Did you mean to call it first?
1111
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(4,5): error TS1329: A decorator function must accept some number of arguments, but this expression takes none. Did you mean to call it first?
1+
tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(4,5): error TS1329: This function cannot be used as a decorator. Did you mean to call it first?
22

33

44
==== tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts (1 errors) ====
@@ -7,5 +7,5 @@ tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts(
77
class C {
88
@dec prop;
99
~~~~
10-
!!! error TS1329: A decorator function must accept some number of arguments, but this expression takes none. Did you mean to call it first?
10+
!!! error TS1329: This function cannot be used as a decorator. Did you mean to call it first?
1111
}

0 commit comments

Comments
 (0)
Please sign in to comment.