purescript-web/purescript-web-html

requestAnimationFrame callback should have type `Timestamp -> Effect Unit`

Opened this issue · 1 comments

According to mdn requestAnimationFrame's callback function:

The callback function is passed one single argument, a DOMHighResTimeStamp similar to the one returned by performance.now(), indicating the point in time when requestAnimationFrame() starts to execute callback functions.

@garyb , I can send pull request, but I'm not sure how to correctly represent DOMHighResTimeStamp