Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove zod inference and use explicit TypeScript types
Eliminate all zod.infer usage throughout the codebase and replace with explicit TypeScript interfaces and types. Move comprehensive JSDoc documentation from zod schemas to corresponding TypeScript types. Add type assertions to ensure schema-type compatibility and update ESLint config to handle assertion types.

This makes things readable by humans, and also will probably improve TS perf, and in some cases even correctness, in callers.

Fixes #119.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
  • Loading branch information
benjaminjkraft and claude committed Jun 11, 2025
commit 982ced7e357a07dbb3d7f78272533c09c8bbbd3e
5 changes: 4 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export default tseslint.config(
},
rules: {
"@typescript-eslint/no-unused-vars": ["error",
{ "argsIgnorePattern": "^_" }
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_Assert"
}
]
}
}
Expand Down
Loading