UNPKG

light-upload

Version:

The most powerful lightweight file upload component. Based on JS worker thread technology, it supports multi-threaded file uploads, uploads of files of any size, resumable uploads, and concurrent uploads. File uploads do not block the UI main thread. Note

6 lines (5 loc) 205 B
import { AxiosInstance } from 'axios'; export declare function createApi(userId: string): AxiosInstance; declare const api: AxiosInstance; declare const getUserId: () => string; export { api, getUserId };