mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	fix types
I don't understand the difference between `any` and `unknown`, but the type signatures before this branch had `Record<string, any> | null`, and this code passes the typecheck… mah
This commit is contained in:
		
							parent
							
								
									abb2c37591
								
							
						
					
					
						commit
						45f7743323
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@ type Context = {
 | 
			
		|||
type Level = 'error' | 'success' | 'warning' | 'debug' | 'info';
 | 
			
		||||
 | 
			
		||||
type Data = DataElement | DataElement[];
 | 
			
		||||
type DataElement = Record<string, unknown> | string | null;
 | 
			
		||||
type DataElement = Record<string, any> | string | null;
 | 
			
		||||
 | 
			
		||||
// eslint-disable-next-line import/no-default-export
 | 
			
		||||
export default class Logger {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue