Skip to content

Commit 651f82c

Browse files
committed
docs: Add documentation for @deprecated
1 parent 25d8a97 commit 651f82c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,19 @@ function super() {
191191
}
192192
```
193193

194+
### `@deprecated`
195+
196+
Whether or not the function is deprecated. If it is, a short deprecation notice
197+
will be prepended to the description.
198+
199+
**Example**
200+
```bash
201+
# @deprecated
202+
say-hello() {
203+
...
204+
}
205+
```
206+
194207
### `@section`
195208

196209
The name of a section of the file. Can be used to group functions.

0 commit comments

Comments
 (0)