-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
In v1.0.0 filename is missing:
/// <reference types="node" />
import { FastifyRequest } from "fastify";
import { MultipartFile } from "fastify-multipart";
import { RouteGenericInterface } from "fastify/types/route";
import { Server, IncomingMessage } from "http";
import { StorageFile, Storage } from "./storage";
export interface MemoryStorageFile extends StorageFile {
buffer: Buffer;
}
export declare class MemoryStorage implements Storage<MemoryStorageFile> {
handleFile(file: MultipartFile, req: FastifyRequest<RouteGenericInterface, Server, IncomingMessage>): Promise<{
buffer: Buffer;
size: number;
encoding: string;
mimetype: string;
fieldname: string;
}>;
removeFile(file: MemoryStorageFile): Promise<void>;
}
As per last commit, I can see, that it was added, but it's not pushed probably to npm modules.
andythorne, doxylee, ericjeker, radekrzepka, DmitryBeloichuk and 3 more
Metadata
Metadata
Assignees
Labels
No labels