@angular/router

LoadChildrenCallback

Type Alias

A function that is called to resolve a collection of lazy-loaded routes. Must be an arrow function of the following form: () => import('...').then(mod => mod.MODULE) or () => import('...').then(mod => mod.ROUTES)

  
    type LoadChildrenCallback = () =>  | Type<any>  | NgModuleFactory<any>  | Routes  | Observable<Type<any> | Routes | DefaultExport<Type<any>> | DefaultExport<Routes>>  | Promise<      NgModuleFactory<any> | Type<any> | Routes | DefaultExport<Type<any>> | DefaultExport<Routes>    >
  
  
Jump to details