@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>