Update interval.js

Docs seemed to show `number` as the type of the parameter the cancel callback accepts when it seems to only accept a promise.