Fix @ts-expect-error comment after Prettier
This commit is contained in:
		
							parent
							
								
									e90f8e88c0
								
							
						
					
					
						commit
						93bb891d79
					
				| @ -148,9 +148,9 @@ export async function ImageProxy(req: Request, res: Response) { | ||||
| 		} else if (Jimp && jimpSupported.has(contentType)) { | ||||
| 			resultBuffer = await Jimp.read(buffer).then((image) => { | ||||
| 				contentType = image.getMIME(); | ||||
| 				// @ts-expect-error Jimp is defined at this point
 | ||||
| 				return image | ||||
| 					.scaleToFit(width, height) | ||||
| 					// @ts-expect-error Jimp is defined at this point
 | ||||
| 					.getBufferAsync(Jimp.AUTO); | ||||
| 			}); | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 TomatoCake
						TomatoCake