Update when.d.ts