You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					12 lines
				
				606 B
			
		
		
			
		
	
	
					12 lines
				
				606 B
			| 
											3 years ago
										 | import { FastifyRequest } from 'fastify'; | ||
|  | import { GetFileName, GetDestination, DiskStorageOptions, File, StorageEngine } from '../interfaces'; | ||
|  | declare class DiskStorage implements StorageEngine { | ||
|  |     getFilename: GetFileName; | ||
|  |     getDestination: GetDestination; | ||
|  |     constructor(opts: DiskStorageOptions); | ||
|  |     _handleFile(req: FastifyRequest, file: File, cb: (error: Error | null, info?: Partial<File>) => void): void; | ||
|  |     _removeFile(_req: FastifyRequest, file: File, cb: (error?: Error | null) => void): void; | ||
|  | } | ||
|  | declare const _default: (opts: DiskStorageOptions) => DiskStorage; | ||
|  | export default _default; |