mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-11 02:03:59 +08:00
@types/node 20 and older declare NodeJS.Timeout and NodeJS.Immediate as classes; 22+ (and scriptc's own declarations) declare interfaces. Accept both as the native timer handle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>