sonandmjy
sonandmjy3mo ago

typescript error in monorepo setup

Hello guys, been dealing with a ts error these few days but I have no idea what triggered it, now all my type definitions are broken. Would anyone have any clues where i should start looking?
Type 'TableDefinition<VObject<{ linkedMessages?: ({ messageId?: Id<"messages"> | undefined; type: "meta:whatsapp:replyMessage"; } | { messageId?: Id<"messages"> | undefined; type: "meta:whatsapp:reaction"; timestamp: number; })[] | undefined; ... 16 more ...; isExternal: boolean; }, { ...; }, "required", "organizationId" ...' is not assignable to type 'TableDefinition<Validator<any, any, any>, {}, {}, {}>'.
Types have separate declarations of a private property 'indexes'.ts(2322)
Type 'TableDefinition<VObject<{ linkedMessages?: ({ messageId?: Id<"messages"> | undefined; type: "meta:whatsapp:replyMessage"; } | { messageId?: Id<"messages"> | undefined; type: "meta:whatsapp:reaction"; timestamp: number; })[] | undefined; ... 16 more ...; isExternal: boolean; }, { ...; }, "required", "organizationId" ...' is not assignable to type 'TableDefinition<Validator<any, any, any>, {}, {}, {}>'.
Types have separate declarations of a private property 'indexes'.ts(2322)
2 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
sonandmjy
sonandmjyOP3mo ago
seems it was duplicate conves installations, once deduped it seems fine now

Did you find this page helpful?