Fix build by using ts-ignore
This commit is contained in:
		
							parent
							
								
									c135de9c86
								
							
						
					
					
						commit
						0a40776bb3
					
				
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -30,7 +30,7 @@ | ||||
| 				"i18next-fs-backend": "^2.1.5", | ||||
| 				"i18next-http-middleware": "^3.3.2", | ||||
| 				"image-size": "^1.0.2", | ||||
| 				"jimp": "*", | ||||
| 				"jimp": "^0.22.12", | ||||
| 				"json-bigint": "^1.0.0", | ||||
| 				"jsonwebtoken": "^9.0.1", | ||||
| 				"lambert-server": "^1.2.12", | ||||
|  | ||||
| @ -135,7 +135,8 @@ export async function ImageProxy(req: Request, res: Response) { | ||||
| 
 | ||||
| 		if (sharp === false && !Jimp) { | ||||
| 			try { | ||||
| 				// @ts-expect-error Typings don't fit
 | ||||
| 				// eslint-disable-next-line @typescript-eslint/ban-ts-comment
 | ||||
| 				// @ts-ignore Typings don't fit
 | ||||
| 				Jimp = await import("jimp"); | ||||
| 			} catch { | ||||
| 				sentImageProxyWarning = true; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 TomatoCake
						TomatoCake