chore(tooling): typecheck scripts/** with a dedicated tsgo lane (#104348)

* feat(tooling): add tsgo typecheck lane for scripts/**

* fix(scripts): burn down scripts type debt surfaced by the new lane

Typing-only except bugs the lane surfaced: gh-read timeout race,
Discord Headers spread dropping entries, undefined allowedHeadBranches
match, plugin-boundary matchAll crash. Deletes retired config keys from
fixtures/benches (prompt snapshots regenerated, config dump only) and
the orphaned non-runnable sync-moonshot-docs script. Adds full-surface
.d.mts declarations for existing .mjs boundaries.
This commit is contained in:
Peter Steinberger
2026-07-11 02:31:17 -07:00
committed by GitHub
parent 6e81c548fc
commit 2e2366b6d3
52 changed files with 1162 additions and 536 deletions
+2 -2
View File
@@ -324,8 +324,8 @@ async function main(): Promise<void> {
},
);
let childStdout = Buffer.alloc(0);
let childStderr = Buffer.alloc(0);
let childStdout: Buffer = Buffer.alloc(0);
let childStderr: Buffer = Buffer.alloc(0);
let restored = false;
let mirrorOffset = 0;
let mirrorFilterPending = "";