Makistos
Makistos
Explore posts from servers
DTDrizzle Team
Created by Makistos on 6/2/2024 in #help
Lots of type issues after running introspection.
Decided to finally give Drizzle a spin and run introspection on my database to automatically generate the models. But I got loads of type errors that say "Argument of type 'string' is not assignable to parameter of type 'number | SQL<unknown>'.ts(2345)" And this is because of lines like this: version: int("version").default('NULL') How should I fix these & why did this happen in the first place?
2 replies