Commit 52b392f
build(tsconfig): scope type lib to Node 22 features (#151)
* build(tsconfig): scope type lib to Node 22 features
Bump target to ES2024 and set an explicit lib so the TypeScript type
library matches what Node 22 (V8 12.4) ships at runtime: Object.groupBy /
Map.groupBy and Promise.withResolvers (ES2024), Set methods and iterator
helpers (ES2025 Collection/Iterator sublibs), and Array.fromAsync
(ESNext.Array). Granular sublibs are used on purpose so Float16Array,
which is Node 24, stays out.
https://claude.ai/code/session_01PazNrvKYZSS5eYu9DUGurf
* build(tsconfig): drop explanatory comment from lib block
https://claude.ai/code/session_01PazNrvKYZSS5eYu9DUGurf
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 79b07e3 commit 52b392f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments