fix(typecheck): restore AppState hook generics (#1503)

* fix(typecheck): restore AppState hook generics

* test: enforce focused type assertions

* fix: remove unused spinner api metrics prop
This commit is contained in:
chioarub
2026-06-04 05:22:18 +08:00
committed by GitHub
parent 2c755d3da8
commit 343cd1a2c9
11 changed files with 346 additions and 42 deletions
+2 -1
View File
@@ -57,8 +57,9 @@
"security:pr-scan": "bun run scripts/pr-intent-scan.ts",
"test:provider-recommendation": "bun test src/utils/providerRecommendation.test.ts src/utils/providerProfile.test.ts",
"typecheck": "tsc --noEmit",
"typecheck:type-tests": "bun run scripts/typecheck-type-tests.ts",
"smoke": "bun run build && node dist/cli.mjs --version",
"check": "bun run smoke && bun run test:full",
"check": "bun run smoke && bun run typecheck:type-tests && bun run test:full",
"verify:privacy": "bun run scripts/verify-no-phone-home.ts",
"build:verified": "bun run build && bun run verify:privacy",
"test:provider": "bun test --max-concurrency=1 src/services/api/*.test.ts src/utils/context.test.ts",