Jack
Explore posts from serversDTDrizzle Team
•Created by Jack on 6/1/2024 in #help
db.insert(Table).values() gives TypeScript error "Object literal may only specify known properties"
I fixed it... One second after asking.
I accidentally had
fileId
in the insert, which trips it up. The error says authorId
in addition to some other fields which confused me!2 replies