n1xx1
n1xx1
Explore posts from servers
TTCTheo's Typesafe Cult
Created by n1xx1 on 5/11/2023 in #questions
Typescript Inference for getServerSideProps-like function
So I'm having some issues with type inference on typescript that I cannot wrap my head around. It's something like this: https://tsplay.dev/WzxAQN. How do I make it infer the correct type without manually specifying the return type?
3 replies
TTCTheo's Typesafe Cult
Created by n1xx1 on 5/8/2023 in #questions
upstash-like redis interface
I was looking for a redis interface that used HTTP without requiring me to use upstash exactly. I found this project (https://github.com/nicolasff/webdis) but I'm not sure it's "production ready". Anyone has other options that are maybe more battle tested?
1 replies