@mrlubos@EthanAlley arkregex implements type-level regex inference, but for this scenario I think you'd actually want the same logic but implemented in the plugin at runtime.
I guess you could have an agent look at the inference implementation in TS types and 1 shot translating it to .ts?
📈attest now supports tsrs📈
type benchmarks, assertions, and error snapshots run on it automatically, with the same results as tsgo
tsassembly support next?🤔
⚡attest now supports TypeScript 7.1 beta
type assertions, error snapshots, completions and benchmarks all run on TS 7's native compiler automatically when it's installed.
tsrs support next?🤔
I'm looking for my next role 👀
TS SDKs, DX, agent tooling. remote/hybrid from Boston.
if you've enjoyed ArkType, Standard Schema or my TypeScript perf work, a repost would mean a ton 🙏
https://t.co/zgi8iVlwTX
Full announcement: https://t.co/tbI8JFh4d5
I couldn't be more hyped to see what you do with it.
⚡ https://t.co/8HinXBQWWY
⭐ https://t.co/5EAPZTE2tZ
👋 https://t.co/mkyVQb8HBw
If you want to support this work: https://t.co/aLyJMlEYcv
📢ArkType 2.2 is here.
This is a big one, and it's long overdue.
Validated functions, type-safe regex, bidirectional JSON Schema, and universal schema interop.
Here's what's new 🧵
@ark/json-schema — Bidirectional JSON Schema
Parse JSON Schema into ArkType Types, and convert Types to JSON Schema. Huge thanks to @TizzySaurus for building this one.
toJsonSchema() now supports configurable fallbacks, draft-07/2020-12 targets, and cyclic types. 11 granular fallback codes for handling incompatibilities your way.
all you need to "learn" ArkType syntax:
1️⃣ start with a typescript keyword
2️⃣ .autocomplete to discover constraints
3️⃣ compose if needed with &, |, etc.