ParseFn
ParseFn<
T> = (data) =>T|Promise<T>
Defined in: src/core/types.ts:16
Validates/transforms the decoded body. May be async (e.g. a schema with
async refinements); a throw or rejection becomes a ValidationError.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”T | Promise<T>
