sonandmjyS
Convex Communityβ€’8mo agoβ€’
2 replies
sonandmjy

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)
Was this page helpful?