mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 21:32:56 -07:00
fix: upgrade test-utils lib target to ES2023
Upgrades the `lib` target in `packages/test-utils/tsconfig.json` from `ES2021` to `ES2023`. This resolves 20 type errors related to `ErrorOptions`, `cause` support in `Error`, and modern `Intl` features (like `Intl.Segmenter`) that were causing build failures in the `test-utils` package and its dependents. This change aligns `test-utils` with other packages in the monorepo (like `core` and `cli`) that already use `ES2023`. cc @google-gemini/gemini-cli-maintainers
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2021"],
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
||||
"composite": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user