David Tejada
ZZod
•Created by David Tejada on 10/27/2023 in #questions
David Tejada - Hi. I have the following functio...
Yeah, makes sense. Thanks
14 replies
ZZod
•Created by David Tejada on 10/27/2023 in #questions
David Tejada - Hi. I have the following functio...
I wanted to know if there is a way to avoid the type assertion
14 replies
ZZod
•Created by David Tejada on 10/27/2023 in #questions
David Tejada - Hi. I have the following functio...
This doesn't work. The problem is the return type of something like
await retrieve("test")
is not string
but string | number
. The way I have done it works for me but I don't know if there is a cleaner way.14 replies
ZZod
•Created by David Tejada on 10/27/2023 in #questions
David Tejada - Hi. I have the following functio...
No problem😀 I was about to try that approach
14 replies
ZZod
•Created by David Tejada on 10/27/2023 in #questions
David Tejada - Hi. I have the following functio...
Why do you say it could be anything? It can only be one of the keys in Storage as it is typed
14 replies