Sitelet https://web.archive.org/web/20240920155821/https://angular.dev/api/router/mapToCanMatch/
@angular/router

mapToCanMatch

function

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

  
    mapToCanMatch(  providers: Type<CanMatch>[]): CanMatchFn[];
  
  
Jump to details