AlexWayne
Explore posts from serversAarktype
•Created by AlexWayne on 1/31/2025 in #questions
configure({ onUndeclaredKey: 'delete' }) seems to allow extra properties through.
Thank you for all you do. I’m going to try to replace zod for Arktype at work this year. Wish me luck.
13 replies
Aarktype
•Created by AlexWayne on 1/31/2025 in #questions
configure({ onUndeclaredKey: 'delete' }) seems to allow extra properties through.
Sorry posted and ran to lunch so on my phone.
13 replies
Aarktype
•Created by AlexWayne on 1/31/2025 in #questions
configure({ onUndeclaredKey: 'delete' }) seems to allow extra properties through.

13 replies
Aarktype
•Created by AlexWayne on 1/31/2025 in #questions
configure({ onUndeclaredKey: 'delete' }) seems to allow extra properties through.
And maybe the docs should call that out, as it’s two files in the example but not clear why
13 replies
Aarktype
•Created by AlexWayne on 1/31/2025 in #questions
configure({ onUndeclaredKey: 'delete' }) seems to allow extra properties through.
Ohh okay. Gotcha. That makes sense anyway in a real app. But doesn’t play well with just playing around.
13 replies
Aarktype
•Created by PIat on 8/12/2024 in #questions
Adding comment to object key
I'm fairly certain this is impossible. Typescript doesn't give type authors any APIs to make sure these survive transformations.
33 replies
Aarktype
•Created by AlexWayne on 7/29/2024 in #questions
using an const array as a source for a string literal union
nice. Thank you.
7 replies
Aarktype
•Created by AlexWayne on 7/29/2024 in #questions
using an const array as a source for a string literal union
Nice. So the
'==='
just infers the type from what follows it?7 replies