From 948abb30d00833227cd3b6f64e9cbcbdf95fc8e8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 9 Aug 2023 04:44:42 +0200 Subject: [PATCH] Fix `toggleStarred` typing --- .../app/[lang]/(layout)/(contextStarred)/StarredContextData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todoblue/src/app/[lang]/(layout)/(contextStarred)/StarredContextData.ts b/todoblue/src/app/[lang]/(layout)/(contextStarred)/StarredContextData.ts index ac4a136..64fb17c 100644 --- a/todoblue/src/app/[lang]/(layout)/(contextStarred)/StarredContextData.ts +++ b/todoblue/src/app/[lang]/(layout)/(contextStarred)/StarredContextData.ts @@ -6,6 +6,6 @@ export interface StarredContextData { setStarred: Dispatch> addStarred: (key: string) => void, removeStarred: (key: string) => void, - toggleStarred: (key: string) => boolean, + toggleStarred: (key: string) => void, isStarred: (key: string) => boolean, }