#What am I doing wrong here?
1 messages · Page 1 of 1 (latest)
really? That's the entire code
there's just the types missing
when i hover over actions, i get the error message above
Let' s see that TriviaGameType type
players is Record<string, UserAccountModelType>
const BaseGameInvite = z.object({
players: z.record(UserAccountModel),
});
const TriviaGame = BaseGameInvite.extend({
.........
});
Index signature for type 'string' is missing in type 'AssignAction<unknown, EventObject, EventObject>'
this really feels like a basic xstate mistake
?