Skip to content

Commit 67a0c95

Browse files
Merge pull request #1287 from lucasfloriani/fix-where-decorators-can-be-used
Correct where decorators can be used
2 parents 98ef4a2 + 6051be0 commit 67a0c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/custom-decorators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Nest is built around a language feature called **decorators**. Decorators are a
55
<blockquote class="external">
66
An ES2016 decorator is an expression which returns a function and can take a target, name and property descriptor as arguments.
77
You apply it by prefixing the decorator with an <code>@</code> character and placing this at the very top of what
8-
you are trying to decorate. Decorators can be defined for either a class or a property.
8+
you are trying to decorate. Decorators can be defined for either a class, a method or a property.
99
</blockquote>
1010

1111
#### Param decorators

0 commit comments

Comments
 (0)