This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Description
I'm using Expo with a web project and a native project that are both part of the same package / project / repo.
Is there any suggested way to structure multiple reactn stores for Typescript - one for the web and one for native? Using 'global.d.ts' you can't have multiple store type definitions it seems like.
The obvious answer seems to be to use Providers instead, but just curious if anyone else has come across this use case. I don't see documentation in the Providers readme on how to structure the typescript type definitions
EDIT: I also tried conditionally declaring the module by using a conditional on react-native Platform, but that didn't seem to work either.