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.
		
		
		
		
		
			
		
			
				
					9 lines
				
				422 B
			
		
		
			
		
	
	
					9 lines
				
				422 B
			| 
								 
											3 years ago
										 
									 | 
							
								import { FastifyRequest } from 'fastify';
							 | 
						||
| 
								 | 
							
								import { StorageEngine, File } from '../interfaces';
							 | 
						||
| 
								 | 
							
								declare class MemoryStorage implements StorageEngine {
							 | 
						||
| 
								 | 
							
								    _handleFile(_req: FastifyRequest, file: File, cb: (error: Error | null, info?: Partial<File>) => void): void;
							 | 
						||
| 
								 | 
							
								    _removeFile(_req: FastifyRequest, file: File, cb: (error?: Error) => void): void;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								declare const _default: () => MemoryStorage;
							 | 
						||
| 
								 | 
							
								export default _default;
							 |