UNPKG

guardz-axios

Version:

Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.

5 lines 212 B
/** * Utility type to infer the data type from a TypeGuardFn */ export type InferDataType<T> = T extends (value: any, ...args: any[]) => value is infer U ? U : never; //# sourceMappingURL=InferDataType.d.ts.map