You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, enum constants are being generated typed at { tag: string }, but their uses (e.g. reducer arguments) are typed more specifically at e.g. { tag: 'MyVariant' }. The Discord user suggests adding an as const to the definition of the constants. A manual type ascription might (or might not) also work.