UNPKG

got

Version:

Human-friendly and powerful HTTP request library for Node.js

4 lines (3 loc) 177 B
import Request from '../core/index.js'; import { type CancelableRequest } from './types.js'; export default function asPromise<T>(firstRequest?: Request): CancelableRequest<T>;