0 votes
in Angular by

What is the correct syntax for using a decorator?

1. @NgModule<>

2. @NgModule()

3. @NgModule{}

4. @NgModule[]

1 Answer

0 votes
by
Correct answer is :- 2. @NgModule()
...