1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

Fix toggleStarred typing

This commit is contained in:
Steffo 2023-08-09 04:44:42 +02:00
parent 0d731c6d5a
commit 948abb30d0
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -6,6 +6,6 @@ export interface StarredContextData {
setStarred: Dispatch<SetStateAction<string[] | undefined>>
addStarred: (key: string) => void,
removeStarred: (key: string) => void,
toggleStarred: (key: string) => boolean,
toggleStarred: (key: string) => void,
isStarred: (key: string) => boolean,
}