arktype dedicated Promise handling
Author: ssalbdivadCreated Sep 18, 2022Updated Sep 16, 2026
This would be a bit trickier than initially anticipated to do well because you'd need to infer at the top-level that a type has an async return at nested properties.
Still definitely doable, but not the shallow wrapper I initially imagined. Would likely be a new kind of morph.
Source: arktypeio/arktype