Changed type signatures back to "number"

To reflect the reversion in a recent Elm commit