TrialEnjoyer
TTCTheo's Typesafe Cult
•Created by NeoFox on 3/7/2024 in #questions
Undefined TypeScript error
So like add const Fallback = (whatever number); then at the end of skillRating statement, add ?? Fallback - or something alike. Would that work for you?
10 replies
TTCTheo's Typesafe Cult
•Created by NeoFox on 3/7/2024 in #questions
Undefined TypeScript error
Add a fallback or add an if statement to make sure its defined. Or if you feel its too tedious, theres always //@ts-expect-error
10 replies
TTCTheo's Typesafe Cult
•Created by Omar on 3/6/2024 in #questions
PlanetScale Hobby not Available. Alternative Suggestions?
I like supabase (PostgreSQL) - and theres ALOT of examples out there for setup with prisma, drizzle, etc.
3 replies