Open
Description
The code block shown below should generate a type error as rawCheck
might not be designed to use async functions.
import * as v from 'valibot';
const Schema = v.pipe(
v.object({key: v.string()}),
// This should generate a type error
// as the function returns a `Promise`
v.rawCheck(async () => {})
);