code: function provideRoutes(routes) {
      return [
          { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ANALYZE_FOR_ENTRY_COMPONENTS"], multi: true, useValue: routes },
          { provide: ROUTES, multi: true, useValue: routes },
      ];
  }
docs: @description
  
  Registers routes.
  
  @usageNotes
  ### Example
  
  ```
  @NgModule({
  imports: [RouterModule.forChild(ROUTES)],
  providers: [provideRoutes(EXTRA_ROUTES)]
  })
  class MyNgModule {}
  ```