my-idlers/node_modules/got/dist/source/as-promise/create-rejection.d.ts

3 lines
203 B
TypeScript
Raw Normal View History

import { CancelableRequest, BeforeErrorHook } from './types';
export default function createRejection(error: Error, ...beforeErrorGroups: Array<BeforeErrorHook[] | undefined>): CancelableRequest<never>;