Is ArkType compatible with the overrides made in `@total-typescript/reset`, or will stuff break?

This library overrides some TypeScript defaults for perhaps what could be considered more sensible defaults (I guess that's subjective). I'm wondering if could possibly break ArkType somehow? https://www.totaltypescript.com/ts-reset-article
Total TypeScript
TS Reset Improves TypeScript's Built-In Typings
The official docs for TS Reset - the library that improves TypeScript's built-in API's across your whole project.
5 Replies
ssalbdivad
ssalbdivad3w ago
It should not have any impact since AFAIK it only changes the method signatures of some built-ins. Worst case scenario you may see some errors in node_modules if you're not using skiipLibCheck, but you should probably be using that anyways! The only thing that would affect ArkType would be changes to how types themselves behave, e.g. by disabling strictNullChecks which makes null extends undefined true
mailliW
mailliWOP3w ago
Awesome, thanks David. I hope you're having a great start to 2025! 🎉🥳
ssalbdivad
ssalbdivad3w ago
Definitely a good start 😊 Hoping to keep the momentum going!
mailliW
mailliWOP3w ago
Yessir, you had a great 2024 too. I'm loving the documentation glow up! Thanks again! ✌️
ssalbdivad
ssalbdivad3w ago
Shipping things does feel good though 😅

Did you find this page helpful?