fix: add DOM.Iterable lib to resolve URLSearchParams.entries() type error (#27)

The generated queryKeySerializer.gen.ts uses URLSearchParams.entries() which
requires DOM.Iterable in the TypeScript lib config for proper type definitions.
This commit is contained in:
Chris Bartholomew 2025-12-12 11:34:47 -05:00 committed by GitHub
parent 70983f5817
commit 160c5581ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"lib": ["ES2020", "DOM"],
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"declaration": true,
"outDir": "./dist",
"rootDir": "./",