@angular/router

mapToResolve

function

Maps an injectable class with a resolve function to an equivalent ResolveFn for use in a Route definition.

  
    mapToResolve(  provider: Type<Resolve<T>>): ResolveFn<T>;
  
  
Jump to details