←
ArkType1,323 posts
ArkType avatar

ArkType

@arktypeio

TypeScript's 1:1 validator, optimized from editor to runtime ⛵ ⭐github.com/arktypeio/arktype 👋arktype.io/discord

◷ Joined September 2022▧ 429 Photos and videos
ArkType avatar
ArkType@arktypeio·28 Oct 2025

📢Introducing ArkRegex📢 a drop in replacement for new RegExp() with types ⬇️

0:33
ArkType avatar
ArkType@arktypeio·Oct 22

📈attest now supports tsrs📈 type benchmarks, assertions, and error snapshots run on it automatically, with the same results as tsgo tsassembly support next?🤔

Post attachment
ArkType avatar
ArkType@arktypeio·Oct 20

⚡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?🤔

Post attachment
ArkType avatar
ArkType@arktypeio·Oct 16

we've got some big things in the works 🤫 hire this man before he becomes homeless and abandons them

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 🙏 ssalbdivad.com

ArkType avatar
ArkType@arktypeio·Mar 4

Much more: - select + configure — query types by node kind, configure specific references - Improved type.declare — morph-aware declarations, optionality via property values - type.or, type.and, type.merge, type.pipe — n-ary standalone operators - "|>" string-embeddable pipe syntax - type.valueOf for TS enums - string.hex + string.regex keywords - Serializable ArkErrors (flatByPath, flatProblemsByPath, toJSON) - exactOptionalPropertyTypes config - ES2020 + Hermes compatibility - In-docs playground

ArkType avatar
ArkType@arktypeio·Mar 4

@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.

Post attachment
ArkType avatar
ArkType@arktypeio·Mar 4

Standard Schema validators can now be embedded directly in ArkType definitions. Zod, Valibot, or anything else that implements the spec.

Post attachment
ArkType avatar
ArkType@arktypeio·Mar 4

Type-safe regex via arkregex Regex literals in your definitions now carry full type inference. x-prefix parses capture groups at runtime.

Post attachment
ArkType avatar
ArkType@arktypeio·Mar 4

type.fn Define runtime-validated functions using the same syntax you already know. Defaults, optionals, variadics- it all works.

Post attachment
ArkType avatar
ArkType@arktypeio·Mar 4

📢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 🧵

Post attachment
ArkType avatar
ArkType@arktypeio·22 Dec 2025

all you need to "learn" ArkType syntax: 1️⃣ start with a typescript keyword 2️⃣ .autocomplete to discover constraints 3️⃣ compose if needed with &, |, etc.

0:25