Skip to content

fix: remove DOM lib from tsconfig.json #81

Description

@BryanFRD

Describe the bug
`tsconfig.json` includes `"DOM"` in the `lib` array, but this is a Node.js stdio server with no browser APIs.

The DOM lib can mask type errors by making browser globals (like `window`, `document`, `fetch`) available at compile time even though they don't exist at runtime. Remove it and fix any resulting type errors.

Package
Which package is affected? [x] server [ ] tools [ ] docs

To Reproduce
Not provided in the original issue — to be filled in.

Expected behavior
Not specified explicitly — see description.

Environment

  • Package version: main
  • Browser/OS (if frontend): n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions