docs: clarify tsgo typecheck lanes

This commit is contained in:
Peter Steinberger
2026-04-18 18:24:07 +01:00
parent 72979129fb
commit 3d994aa03b
2 changed files with 6 additions and 5 deletions

View File

@@ -61,14 +61,14 @@ node --import tsx scripts/repro/tsx-name-repro.ts
## Workarounds
- Use Bun for dev scripts (current temporary revert).
- Use Node + tsc watch, then run compiled output:
- Use `tsgo` for repo type checking, then run the built output:
```bash
pnpm exec tsc --watch --preserveWatchOutput
node --watch openclaw.mjs status
pnpm tsgo
node openclaw.mjs status
```
- Confirmed locally: `pnpm exec tsc -p tsconfig.json` + `node openclaw.mjs status` works on Node 25.
- Historical note: `tsc` was used here while debugging this Node/tsx issue, but repo type-check lanes now use `tsgo`.
- Disable esbuild keepNames in the TS loader if possible (prevents `__name` helper insertion); tsx does not currently expose this.
- Test Node LTS (22/24) with `tsx` to see if the issue is Node 25specific.