Skip to content

Commit df0605b

Browse files
chore(rest): @objectstack/rest 从 #4311 的 DEBT 台账毕业 —— 接进 turbo typecheck (#6937)
PR #6895(#6307)修掉重复 `?version=` 把 `string[]` 喂进 `version?: string` 的缺陷后,`@objectstack/rest` 已零错编译,而 DEBT 台账仍记 2。门禁自己把这 个状态标成 graduation candidate 并明说 `--lower` 不会处理它 —— 0 不是更低的 天花板,而是毕业。 - `packages/rest/package.json` 增加 `"typecheck": "tsc --noEmit"`; - 删掉 `scripts/check-type-check-coverage.mjs` 里 DEBT 的 `@objectstack/rest` 条目。 两者必须同一个 PR:只删条目不加脚本会挂 COVERED,只加脚本不删条目会挂 RECONCILED。TEST_DEBT 是另一本账,本 PR 不动。 Claude-Session: https://claude.ai/code/session_017uFVNMmTxLpmfQYiuKM1Yx Co-authored-by: Claude <noreply@anthropic.com>
1 parent 54fe9d5 commit df0605b

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

packages/rest/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"scripts": {
1717
"build": "tsup --config ../../tsup.config.ts",
1818
"dev": "tsc -w",
19-
"test": "vitest run"
19+
"test": "vitest run",
20+
"typecheck": "tsc --noEmit"
2021
},
2122
"dependencies": {
2223
"@objectstack/core": "workspace:*",

scripts/check-type-check-coverage.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,6 @@ const DEBT = {
347347
errors: 11,
348348
note: 'all code-tier (TS2554 wrong arity x10, TS2552).',
349349
},
350-
'@objectstack/rest': {
351-
errors: 2,
352-
note: 'code-tier 2 (TS2345).',
353-
},
354350
'@objectstack/service-analytics': {
355351
errors: 10,
356352
note: 'code-tier 9 (TS2339 x7, TS7053 x2) + 1 noise (TS6133). Re-measured 10 at e8db1a230, up from 7 '

0 commit comments

Comments
 (0)