mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24:13 +00:00 
			
		
		
		
	Follow lint
This commit is contained in:
		
							parent
							
								
									0b7be70935
								
							
						
					
					
						commit
						25473222cc
					
				
					 1 changed files with 8 additions and 6 deletions
				
			
		
							
								
								
									
										14
									
								
								src/@types/deepcopy.d.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								src/@types/deepcopy.d.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -1,17 +1,19 @@ | ||||||
| declare module 'deepcopy'; | declare module 'deepcopy' { | ||||||
| 
 |  | ||||||
| declare namespace deepcopy { |  | ||||||
| 	type DeepcopyCustomizerValueType = 'Object'; | 	type DeepcopyCustomizerValueType = 'Object'; | ||||||
| 
 | 
 | ||||||
| 	type DeepcopyCustomizer<T> = ( | 	type DeepcopyCustomizer<T> = ( | ||||||
| 		value: T, | 		value: T, | ||||||
| 		valueType: DeepcopyCustomizerValueType) => T; | 		valueType: DeepcopyCustomizerValueType) => T; | ||||||
| 
 | 
 | ||||||
| 	interface DeepcopyOptions<T> { | 	interface IDeepcopyOptions<T> { | ||||||
| 		customizer: DeepcopyCustomizer<T>; | 		customizer: DeepcopyCustomizer<T>; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	export function deepcopy<T>( | 	function deepcopy<T>( | ||||||
| 		value: T, | 		value: T, | ||||||
| 		options?: DeepcopyOptions<T> | DeepcopyCustomizer<T>): T; | 		options?: IDeepcopyOptions<T> | DeepcopyCustomizer<T>): T; | ||||||
|  | 
 | ||||||
|  | 	namespace deepcopy {} // Hack
 | ||||||
|  | 
 | ||||||
|  | 	export = deepcopy; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue