Changelog

denoland/std · · 1 commit

Timer types fixed for canary compatibility

A repo-wide typing cleanup updates timer handles to work with canary return types, touching async helpers, CLI widgets, and testing utilities.

Timer handle typings updated for canary compatibility (tomas-zijdemansa496da2) The day’s change replaces several hard-coded number timer IDs with ReturnType<typeof setTimeout> / setInterval or removes unnecessary annotations entirely. This keeps async utilities, CLI progress/spinner helpers, and testing time mocks compatible with canary timer return types without changing runtime behavior.

Other misc changes

  • Type-only cleanup across multiple timer-related files (async/*, cache/ttl_cache.ts, cli/*, testing/*, toml/_parser_test.ts)
  • Documentation example updated in testing/README.md