UNPKG

convex

Version:

Client for the Convex Cloud

9 lines 383 B
import { GenericAPI, MutationNames } from "../browser/index.js"; import { StorageId } from "../server/storage.js"; /** * TODO(CX-2960) Use codegen to make non-generic version * * @internal */ export declare function useUploadGeneric<API extends GenericAPI, Name extends MutationNames<API>>(name: Name): (file: File) => Promise<StorageId>; //# sourceMappingURL=use_upload.d.ts.map