UNPKG

deepl-client

Version:
7 lines (6 loc) 218 B
import { Response } from 'node-fetch'; /** * Handles the error based on the status code. * @param response The response from the DeepL API. */ export declare function handleError(response: Response): Promise<void>;