From 14add36fc19c987bacbca895584b8f6c0fe9b8c9 Mon Sep 17 00:00:00 2001 From: BrianW25 Date: Wed, 8 May 2024 12:36:32 -0700 Subject: [PATCH] remove typing of implied types --- packages/core/state/selection/selectors.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/state/selection/selectors.ts b/packages/core/state/selection/selectors.ts index f5360bb1f..6e3468dd7 100644 --- a/packages/core/state/selection/selectors.ts +++ b/packages/core/state/selection/selectors.ts @@ -55,7 +55,7 @@ export const getEncodedFileExplorerUrl = createSelector( export const getGroupedByFilterName = createSelector( [getFileFilters, getAnnotations], - (globalFilters: FileFilter[], annotations: Annotation[]) => { + (globalFilters, annotations) => { const annotationNameToInstanceMap = keyBy(annotations, "name"); const filters = map(globalFilters, (filter: FileFilter) => { const annotation = annotationNameToInstanceMap[filter.name]; @@ -81,7 +81,7 @@ export const getUnavailableAnnotationsForHierarchy = createSelector( // COMPOSED SELECTORS export const getSortedAnnotations = createSelector( [getAnnotations, getRecentAnnotations], - (annotations: Annotation[], recentAnnotationNames: string[]) => { + (annotations, recentAnnotationNames) => { // Create Array of annotations from recentAnnotationNames const recentAnnotations = recentAnnotationNames.flatMap((name) => annotations.filter((annotation) => annotation.name === name)