Workers - Validate your generated types with `wrangler types --check`
5mo ago
Source
CloudflareWorkers - Validate your generated types with `wrangler types --check`cloudflare.comWrangler now supports a --check flag for the wrangler types command. This flag validates that your generated types are up to date without writing any changes to disk. This is useful in CI/CD pipelines where you want to ensure that developers have regenerated their types after making changes to their Wrangler configuration. If the types are out of date, the command will exit with a non-zero status code. npx wrangler types --check If your types are up to date, the command will succeed silently. If they are out of date, you'll see an error message indicating which files need to be regenerated. For more information, see the Wrangler types documentation .
You might also wanna read
Teaching Rust's type system to prevent parallel-Redux data races at compile time
A deep technical exploration of how the author taught Rust's type system to statically prevent data races in a parallel-Redux reducer pipeli
Python Type Checker Comparison: Evaluating Conformance to Typing Specifications
This article examines how well different Python type checkers conform to the official Python typing specification. It discusses the history

Comments
Sign in to join the conversation.
No comments yet. Be the first.