What a screen's actions may hold: every member is a ScreenMember.
It is a mapped type over the actions' own keys, not a Record<string, …>, so
a named interface (the type of a screen's actions as the API reference
documents it) fits as well as an object literal does: an interface has no
implicit index signature.
What a screen's
actionsmay hold: every member is a ScreenMember. It is a mapped type over the actions' own keys, not aRecord<string, …>, so a named interface (the type of a screen's actions as the API reference documents it) fits as well as an object literal does: an interface has no implicit index signature.