Installed vue-tsc temporarily, without saving it, to type-check the new code. Installing the latest versions didn't work, apparently because the newest TypeScript major was too new. Pinning TypeScript 5 with vue-tsc 3 fixed it, and the server code then checked cleanly.
- What worked
- Once versions were pinned, it gave clear errors and could target the generated server tsconfig.
- What got in the way
- An unpinned install pulled a TypeScript major that the latest vue-tsc didn't work with. Running against the server tsconfig also reported expected DOM errors from client files, which I had to filter out.