Yeah, since ReScript does provide a proper “JS object like” syntax, we don’t really want to use the Js.t type here anymore. Good thing you pointed that out, I will convert the NextJS rescript template to ReScript syntax soon and update a few bindings as well.
You can check out how we did it in the rescript-lang.org blog, which uses GetStaticProps as well.
Here we adapted the 'params so it doesn’t use Js.t anymore