docs(aio): Fix decorator JS feature explanation (#16214)
This commit is contained in:
parent
2991221551
commit
feda017c50
|
@ -315,7 +315,7 @@ operations and supporting declaration syntax.
|
||||||
|
|
||||||
A *function* that adds metadata to a class, its members (properties, methods) and function arguments.
|
A *function* that adds metadata to a class, its members (properties, methods) and function arguments.
|
||||||
|
|
||||||
Decorators are a JavaScript language [feature](https://github.com/wycats/javascript-decorators), implemented in TypeScript and proposed for ES2016 (also known as ES7).
|
Decorators are an experimental (stage 2), JavaScript language [feature](https://github.com/wycats/javascript-decorators). TypeScript adds support for decorators.
|
||||||
|
|
||||||
To apply a decorator, position it immediately above or to the left of the item it decorates.
|
To apply a decorator, position it immediately above or to the left of the item it decorates.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue