From c326d79705b8305c90b2259b8737c32eb13c8283 Mon Sep 17 00:00:00 2001 From: Quentin Date: Fri, 27 Sep 2024 21:23:13 +0200 Subject: [PATCH] This assertion is unnecessary since it does not change the type of the expression. --- src/main/webapp/app/module/domain/landscape/Landscape.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/webapp/app/module/domain/landscape/Landscape.ts b/src/main/webapp/app/module/domain/landscape/Landscape.ts index 8a5d126241c..f47489511e8 100644 --- a/src/main/webapp/app/module/domain/landscape/Landscape.ts +++ b/src/main/webapp/app/module/domain/landscape/Landscape.ts @@ -491,7 +491,6 @@ class LevelsProjections { levels .flatMap(level => level.elements) .filter(element => element instanceof LandscapeFeature) - .map(feature => feature as LandscapeFeature) .map(feature => [feature.slugString(), feature]), ); }