Skip to content

build: upgrade typescript and align TD schema with W3C IRI standards #23

@siddharthbaleja7

Description

@siddharthbaleja7

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

  1. Run npm install to update dependencies.
  2. Run npm run compile to verify that the build now completes successfully without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions