Prompt file imported from Prompt-or-Die-Labs/hyper-forge (
.claude/commands/dev/typecheck.md). Fill in{{WORKSPACE_DIR}}before use. Copyright stays with the author.
TypeScript Type Check
Run TypeScript compiler to verify type safety. ZERO any types policy enforced.
Standard Check
!`cd {{WORKSPACE_DIR}}/packages/server && echo "=== TypeScript Type Check ===" && bun run typecheck 2>&1 && echo -e "\n✅ No type errors" || (echo -e "\n❌ Type errors found - run /fix-types to resolve" && exit 1)`
Watch Mode
!`cd {{WORKSPACE_DIR}}/packages/server && echo "=== TypeScript Watch Mode ===" && echo "Watching... (Press Ctrl+C to stop)" && bun tsc --noEmit --watch`
Strict Mode Rules
Per CLAUDE.md coding standards:
- NO implicit
anytypes - NO
unknownwithout narrowing - Strict null checks enabled
- No unused locals
- Exact optional property types
- All public functions must have return types
All type errors must be fixed before deployment.
