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
Current type for PublishedElection meta field is set to object, and this complicates things for end developers. Given we use a recursive key value object where values can be either strings or objects of the same type, I suggest setting a recursive type like
Describe the bug
Current type for PublishedElection meta field is set to
object
, and this complicates things for end developers. Given we use a recursive key value object where values can be either strings or objects of the same type, I suggest setting a recursive type likeCurrent behavior
election.meta is of type object, forcing typescript developers to always use
as any
to properly access values:Expected behavior
To be able to access any election.meta subfield without requiring to add
as any
everytime:The text was updated successfully, but these errors were encountered: