birdofpreyru/react-global-state

It seems `newAsyncDataEnvelope()` when creating GlobalState object may evade typecheks

Closed this issue · 2 comments

It seems `newAsyncDataEnvelope()` when creating GlobalState object may evade typecheks

Screenshot from 2024-07-29 12-58-48
Here the payload passed to newAsyncDataEnvelope() does not match correct user data type.

It seems, it hasn't been caught because of other issues blocking the TS compiler