From 65f8299c1f187c13b4f6ff99333ca839a50a2335 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 23 Jun 2023 11:35:16 -0500 Subject: [PATCH] EntityStore: change error type from any to unknown --- app/soapbox/entity-store/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/entity-store/types.ts b/app/soapbox/entity-store/types.ts index 5fff2f474..ee60f317b 100644 --- a/app/soapbox/entity-store/types.ts +++ b/app/soapbox/entity-store/types.ts @@ -26,7 +26,7 @@ interface EntityListState { /** Total number of items according to the API. */ totalCount: number | undefined /** Error returned from the API, if any. */ - error: any + error: unknown /** Whether data has already been fetched */ fetched: boolean /** Whether data for this list is currently being fetched. */