some library binding should provide Js.Map.t, but not this type at all.
why don’t implement this sub-module in Js?
you can look into: https://www.npmjs.com/package/rescript-js