Alternative Syntax
Each decorator can be written in uppercase @Component()
as well as lowercase: @component()
in order
to stay more consistent with the rest of the Typescript ecosystem.
Empty parens can be omitted, so
@component()
can be written as @component
.