mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	chore(routes/electron): disable lint rule for specific line
in this case using "{}" allows all primitive values, which seems to be what is required here.
so let's disable the rule "@typescript-eslint/no-empty-object-type" for this line
			
			
This commit is contained in:
		
							parent
							
								
									b56ff558a4
								
							
						
					
					
						commit
						91c37fa235
					
				| @ -7,7 +7,7 @@ interface Response { | |||||||
|     setHeader: (name: string, value: string) => Response; |     setHeader: (name: string, value: string) => Response; | ||||||
|     header: (name: string, value: string) => Response; |     header: (name: string, value: string) => Response; | ||||||
|     status: (statusCode: number) => Response; |     status: (statusCode: number) => Response; | ||||||
|     send: (obj: {}) => void; |     send: (obj: {}) => void; // eslint-disable-line @typescript-eslint/no-empty-object-type
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function init(app: Application) { | function init(app: Application) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos