Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
ahrjarrett
Posts
Comments
A
arktype
•
Created by ahrjarrett on 1/21/2025 in
#questions
cross posting from #typescript
noob question! how would i express this type using arktype syntax?
type
MyType
=
Record
<
string
,
unknown
>[]
type
MyType
=
Record
<
string
,
unknown
>[]
i tried:
type
(type.
Record
(
"string"
, type.unknown),
"[]"
)
type
(type.
Record
(
"string"
, type.unknown),
"[]"
)
but it doesn't work on
v2.0.0-rc.30
.
14 replies