H
H
HoHsi2017-03-05 16:14:53
typescript
HoHsi, 2017-03-05 16:14:53

What is the difference between decorators and annotations?

Good afternoon!
What is the difference between annotations and decorators?
After all, as I understand it, they have the same syntax and purpose.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cyril, 2017-03-05
@raspier

If the question is related to Angular2 then please take a look here
https://blog.thoughtram.io/angular/2015/05/03/the-...

A
aol-nnov, 2017-03-05
@aol-nnov

https://en.wikipedia.org/wiki/Decorator_pattern
annotations are just meta info for the handler

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question