Reatom and Typescript
You don’t need to do anything, reatom have out of box typescript support. Inference works as you’d expect
It is recommended to use strict:true
, or strictNullChecks: true
in the tsconfig.json project for better experience
You can play with this example on typescript playground↗