How to create an arktype generic from a generic class<>?
My expectation:
but page is already a final type after instance of:
const page: Type<Page<QueryValue>, {}>
Page:
https://arktype.io/docs/genericsArkType Docs
Optimized runtime validation for TypeScript syntax
1 Reply
Alternatively I have created
page
now manually as an arktype:
but then I wonder how I can use it as part of a scope:
Can I solve that somehow with submodules? This is currently a bit over my head 🙈