Skip to content

Commit 0eefc64

Browse files
committed
fix(client): delete the stale packages.update exported-any-returns entry
`#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
1 parent 22c42c9 commit 0eefc64

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/client/exported-any-returns.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"ObjectStackClient.analytics.meta": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise<any>`. 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.",
1515
"ObjectStackClient.analytics.explain": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise<any>`. 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.",
1616
"ObjectStackClient.analytics.queryDataset": "#12104 — no return annotation; `return res.json()`, and lib.dom declares `Response.json(): Promise<any>`. 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.",
17-
"ObjectStackClient.packages.update": "#11925 — no return annotation; the published type comes from `this.unwrapResponse<any>(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.",
1817
"ObjectStackClient.packages.publish": "#11925 — no return annotation; the published type comes from `this.unwrapResponse<any>(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.",
1918
"ObjectStackClient.packages.discardDrafts": "#11925 — no return annotation; the published type comes from `this.unwrapResponse<any>(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.",
2019
"ObjectStackClient.packages.revertCommit": "#11925 — no return annotation; the published type comes from `this.unwrapResponse<any>(res)`. Invisible to a `Promise<` grep because the text never appears in the method. Bind the contract the route actually answers, minding the envelope.",

0 commit comments

Comments
 (0)