How to properly infer the return type of a generic function returning ArkType schemas? - arktype