I\'m having some issues understanding the record type in a generator function I\'m developing for React contexts.
Here\'s my generator function:
import