mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix type in channel.ts
This commit is contained in:
		
							parent
							
								
									671d71b3ba
								
							
						
					
					
						commit
						dec81d32d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -30,7 +30,7 @@ class ChannelChannel extends Channel {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@bindThis
 | 
						@bindThis
 | 
				
			||||||
	public async init(params: any) {
 | 
						public async init(params: JsonObject) {
 | 
				
			||||||
		if (typeof params.channelId !== 'string') return;
 | 
							if (typeof params.channelId !== 'string') return;
 | 
				
			||||||
		this.channelId = params.channelId;
 | 
							this.channelId = params.channelId;
 | 
				
			||||||
		this.withFiles = !!(params.withFiles ?? false);
 | 
							this.withFiles = !!(params.withFiles ?? false);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue