A
arktype3mo ago
san

Is there a way to attach custom metadata to types?

Tried using .configure but doesn't seem I'm able to attach arbitrary properties.
1 Reply
ssalbdivad
ssalbdivad3mo ago
You should be able to add types for your custom metadata:
https://arktype.io/docs/configuration#metadata
ArkType
ArkType Docs
TypeScript's 1:1 validator, optimized from editor to runtime

Did you find this page helpful?