I’m experimenting with ReScript inside a TypeScript React project. What is the recommended/best way to expose ReScript-specific types like Char and List for consumption in TypeScript?
I assume the TypeScript side would do data consumption and not much editing of the data it gets. For example if there was a ReScript “getAddressBook” function I might want to loop through it to display the contacts in a non-ReScript React project, and possibly check if the size is 0.
There also is the gentype stuff and shims. Are there shims for those Belt types? Is that a proper use of shims? Can I use the Belt types directly from TypeScript and have a reasonably good experience?