Andrew Jarrett
ahrjarrett.bsky.social
Andrew Jarrett
@ahrjarrett.bsky.social
100 stars and 100,000 all-time downloads on the same weekend :)

A library is nothing without its users. Thank you for using my software 🙏❤️
September 28, 2025 at 6:56 PM
Ah, I had more cases, but ended up removing most of them 😅 this could probably be simplified to an if/else.

Glad you got something from it! TypeScript added support for narrowing in switch/true kinda recently:

www.typescriptlang.org/docs/handboo...
Documentation - TypeScript 5.3
TypeScript 5.3 Release Notes
www.typescriptlang.org
September 21, 2025 at 12:17 AM
The library is github.com/traversable/.... Thanks for checking it out!
GitHub - traversable/schema: TypeScript schema compiler, rewriter
TypeScript schema compiler, rewriter. Contribute to traversable/schema development by creating an account on GitHub.
github.com
September 20, 2025 at 9:55 PM
Here's the encode step:
September 20, 2025 at 9:54 PM
@fast-check.dev cool! I can open a PR
September 20, 2025 at 9:12 PM