Fix #1367: Add facade types for setTimeout et al.