UNPKG

@nestlab/google-recaptcha

Version:
5 lines (4 loc) 293 B
import * as axios from 'axios'; import { LiteralObject } from '../interfaces/literal-object'; export declare function isAxiosError<T = LiteralObject>(error: Error | axios.AxiosError<T>): error is axios.AxiosError<T>; export declare function getErrorInfo(error: Error): string | LiteralObject;