mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(server): type errors due to session management
This commit is contained in:
		
							parent
							
								
									244a162e42
								
							
						
					
					
						commit
						dc35ad9ace
					
				
							
								
								
									
										1
									
								
								apps/server/src/express.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								apps/server/src/express.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -2,7 +2,6 @@ import type { SessionData } from "express-session"; | ||||
| 
 | ||||
| export declare module "express-serve-static-core" { | ||||
|     interface Request { | ||||
|         session: SessionData; | ||||
|         headers: { | ||||
|             "x-local-date"?: string; | ||||
|             "x-labels"?: string; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran