fix(shared): add DOM lib and node types for TypeScript 6 compatibility

TypeScript 6 tightened implicit global resolution; fetch/RequestInit
(TS2304) and process (TS2591) were no longer implicitly available.
Add DOM to lib for fetch/RequestInit and types:["node"] for process.
This commit is contained in:
bradgroux 2026-04-14 21:39:00 -05:00
parent acaf875d2d
commit 2b2d8d85a9

View file

@ -3,7 +3,8 @@
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"lib": ["ES2022", "DOM"],
"types": ["node"],
"outDir": "./dist",
"rootDir": "./src",
"strict": true,