Search
Get Started
a
arktype
β’
9mo ago
TaQuanMinhLong
Loose string schema
Does arktype have loose string support
? though the schema can accept any string
, the infered type can be something like
type Thing = "literal" | "or" | "any" | (string & {})
type Thing = "literal" | "or" | "any" | (string & {})
arktype
Join
This is a friendly space centered around ArkType, TypeScript's 1:1 validator (https://github.com/arktypeio/arktype)
855
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
type
Thing
=
"literal"
|
"or"
|
"any"
|
(
string
&
{})
type
Thing
=
"literal"
|
"or"
|
"any"
|
(
string
&
{})
Similar Threads
Match `.in` with loose type
a
arktype / questions
10mo ago
How to validate `Record<string, string>`?
a
arktype / questions
2y ago
String length
a
arktype / questions
17mo ago