From 0eefc64d3e713d58481e60dabd059b8d8dcf6f1e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 25 Aug 2026 12:12:04 +0000 Subject: [PATCH] fix(client): delete the stale `packages.update` exported-any-returns entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `#12062` bound `ObjectStackClient.packages.update` to `InstalledPackage`, but its ledger row did not come with it. The ledger is shrink-only and judged EXACTLY in both directions, so the closed gap left `Type Check · consumer gates` red on `main` — reproducing onto the merge ref of every open PR. Verified against the BUILT dist before deleting: the awaited return type of `ObjectStackClient.packages.update` is the concrete `InstalledPackage` shape, `TypeFlags.Any = false`. The seven neighbouring `packages.*` rows still read `any` and stay. Part of #12180 --- packages/client/exported-any-returns.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/client/exported-any-returns.json b/packages/client/exported-any-returns.json index 94682ceeee..6e1b528343 100644 --- a/packages/client/exported-any-returns.json +++ b/packages/client/exported-any-returns.json @@ -14,7 +14,6 @@ "ObjectStackClient.analytics.meta": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise`. Invisible to every grep #8140's census and #11925 used: the method names neither `any` nor `Promise` nor `unwrapResponse`. Bind the contract the route actually answers, minding the envelope.", "ObjectStackClient.analytics.explain": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise`. Invisible to every grep #8140's census and #11925 used: the method names neither `any` nor `Promise` nor `unwrapResponse`. Bind the contract the route actually answers, minding the envelope.", "ObjectStackClient.analytics.queryDataset": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise`. Invisible to every grep #8140's census and #11925 used: the method names neither `any` nor `Promise` nor `unwrapResponse`. Bind the contract the route actually answers, minding the envelope.", - "ObjectStackClient.packages.update": "#11925 — no return annotation; the published type comes from `this.unwrapResponse(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.", "ObjectStackClient.packages.publish": "#11925 — no return annotation; the published type comes from `this.unwrapResponse(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.", "ObjectStackClient.packages.discardDrafts": "#11925 — no return annotation; the published type comes from `this.unwrapResponse(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.", "ObjectStackClient.packages.revertCommit": "#11925 — no return annotation; the published type comes from `this.unwrapResponse(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.",