• Overview
@angular/router

ResolveData

Type Alias

Represents the resolved data associated with a particular route.

API

  
    type ResolveData = {  [key: string | symbol]: ResolveFn<unknown> | DeprecatedGuard;}
  
  

Description

Represents the resolved data associated with a particular route.

Returning a RedirectCommand directs the router to cancel the current navigation and redirect to the location provided in the RedirectCommand. Note that there are no ordering guarantees when resolvers execute. If multiple resolvers would return a RedirectCommand, only the first one returned will be used.

Jump to details