Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

370
Views
Refactorice la importación angular `LoadedRouterConfig` que ya no está disponible

Tengo una aplicación Angular que estoy actualizando a la versión 8 y me encuentro con un problema de LoadedRouterConfig que ya no se expone públicamente. No puedo encontrar ninguna documentación angular sobre esto, por lo que no estoy seguro de cómo volver a escribir el código que lo usa. ¿Parece que está creando rutas dinámicas sobre la marcha?

 import {LoadedRouterConfig} from '@angular/router/src/config'; ..... item.path = path; item.children = []; if (route.children !== undefined && route.children.length > 0) { this.childrenProcess(route.children, path, item, context ); } else if (route.loadChildren !== undefined) { const loadedRouterConfig: LoadedRouterConfig = (route as any)._loadedConfig; if (loadedRouterConfig !== undefined ) { this.childrenProcess(loadedRouterConfig.routes, path, item, context); } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!