Update angular to v16

This commit is contained in:
Sébastien ANDRE
2023-05-04 09:27:13 +02:00
parent 3ecc6cb74b
commit 3dac4fe8e9
4 changed files with 1535 additions and 1302 deletions

View File

@@ -1,9 +1,9 @@
import { Injectable } from "@angular/core";
import { CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
import { AuthenticationService } from "./authentication.service";
@Injectable({ providedIn: "root" })
export class AuthGuardService implements CanActivate {
export class AuthGuardService {
constructor(private router: Router,
private authenticationService: AuthenticationService) {}