ExtractErrorType
Import
import { ExtractErrorType } from "@hyper-fetch/core"
Source
Package
Preview
type ExtractErrorType<T> = T extends Request<any, any, any, infer G, any, infer C, any, any, any> ? G | ExtractClientGlobalError<C> : never;
import { ExtractErrorType } from "@hyper-fetch/core"
type ExtractErrorType<T> = T extends Request<any, any, any, infer G, any, infer C, any, any, any> ? G | ExtractClientGlobalError<C> : never;