Closed lambda0xff closed 3 years ago
In a final state, is there a way to / how should I type the data property ?
data
FINAL: { type: 'final', data: { data: (_: any, e: any) => e.data } }
I'm getting errors if I don't put the any typing for _ and e
any
_
e
You seem to have an extra level of data that should not be there.
FINAL: { type: 'final', data: (_, e) => e.data }
In a final state, is there a way to / how should I type the
data
property ?I'm getting errors if I don't put the
any
typing for_
ande