Retrieve the type from the given predicate.
import ow, {Infer} from 'ow';const userPredicate = ow.object.exactShape({ name: ow.string});type User = Infer<typeof userPredicate>; Copy
import ow, {Infer} from 'ow';const userPredicate = ow.object.exactShape({ name: ow.string});type User = Infer<typeof userPredicate>;
Retrieve the type from the given predicate.