Skip to content

Commit 6051be0

Browse files
committed
docs(custom-decorators) update where decorators can be used
1 parent 3952e92 commit 6051be0

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)