Support @tscert.noMutation and callback/JSX types under -bs-emit-ts
Why
TScert verification of React components and reducers under -bs-emit-ts needs explicit parameter types on local/callback functions and JSX wrappers, a mapping for JsxEvent.Mouse.t, and a way to emit an empty write-footprint claim (Modifies<{}, T>) on functions marked @tscert.noMutation without eta-reducing forwarding wrappers.
modifiedJS @tscert.noMutation
@tscert.noMutationlet increment = n => Forwarded.increment(n)
js
modifiedJS callback parameters
let squares = xs => Array.map(xs, x => x * x)