Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Type is not assignable to type (unions) - arktype
a
arktype
โข
14mo ago
โข
1 reply
GreggOD
Type is not assignable to type (unions)
I am passing a typescript type into arktypes
'type
' function
, the type i am passing is has 2 union fields
. It seems arktype expects the typescript union fields to have the same string formatting as itself which looks like a bug
.
See the screenshots and let me know
arktype
Join
This is a friendly space centered around ArkType, TypeScript's 1:1 validator (https://github.com/arktypeio/arktype)
860
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Type 'distillOut<T>' is not assignable to type 'T'.
a
arktype / questions
2y ago
Type '"DateValue | undefined"' is not assignable to type '"'DateValue' is unresolvableโ"'.ts(2322)
a
arktype / questions
11mo ago
Passing an exported scope to a function (Type 'string' is not assignable to type 'never')
a
arktype / questions
17mo ago
Unions with optional params?
a
arktype / questions
3y ago