From da52af6b39157605cefdaee76090b6ac838d5969 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 20 Aug 2024 20:27:13 +0200 Subject: [PATCH] [Angular] typescript-eslint 8.2.0 --- generators/angular/resources/package.json | 2 +- .../src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/angular/resources/package.json b/generators/angular/resources/package.json index 567a78eca09d..196df14b5a3e 100644 --- a/generators/angular/resources/package.json +++ b/generators/angular/resources/package.json @@ -48,7 +48,7 @@ "rimraf": "5.0.8", "ts-jest": "29.2.4", "typescript": "5.4.5", - "typescript-eslint": "8.1.0", + "typescript-eslint": "8.2.0", "webpack": "5.93.0", "webpack-bundle-analyzer": "4.10.2", "webpack-merge": "6.0.1", diff --git a/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs b/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs index c512ce976865..ca97e8571621 100644 --- a/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.ts.ejs @@ -150,7 +150,7 @@ export default class NavbarComponent implements OnInit { } <%_ } _%> }, - error => { + (error: unknown) => { // eslint-disable-next-line no-console console.log('Error loading <%= remote.lowercaseBaseName %> entities', error); }