I'm importing lazy loading modules into my routing modules as it is shown in Angular tutorial. But ESLint doesn't like that I don't mention type annotation for it.
How is it possible to solve this issue whithout setting ESLint to ignore this rule?
{
path: 'user',
children: [
{
path: ':id',
loadChildren: () =>
import('./user/user.module').then(
(m) => m.UserModule,
),
},
],
}
