@angular/router

mapToCanActivate

function

Maps an array of injectable classes with canActivate functions to an array of equivalent CanActivateFn for use in a Route definition.

  
    function mapToCanActivate(  providers: Type<CanActivate>[]): CanActivateFn[];
  
  
Jump to details