Fix: Upgrade TypeScript to resolve build errors
Description
The project was failing to compile due to a TypeScript version mismatch. The existing version (^3.8.3) was incompatible with newer type definitions in dependencies (specifically @types/whatwg-url), causing multiple syntax errors during the build process, such as:
../../node_modules/@types/whatwg-url/index.d.ts:66:13 - error TS1109: Expression expected.
Changes
- Upgraded
typescript dev dependency in package.json to ^4.9.5.
- Updated
package-lock.json to reflect the dependency changes.
Verification
- Run
npm install to update dependencies.
- Run
npm run compile to verify that the build now completes successfully without errors.