Add type annotation to avoid type error
This commit is contained in:
		
							parent
							
								
									e90712706d
								
							
						
					
					
						commit
						c56b94ae96
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -116,7 +116,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
 | 
			
		|||
		: [];
 | 
			
		||||
 | 
			
		||||
	// リプライ
 | 
			
		||||
	const reply = note.inReplyTo
 | 
			
		||||
	const reply: INote = note.inReplyTo
 | 
			
		||||
		? await resolveNote(note.inReplyTo, resolver).catch(e => {
 | 
			
		||||
			// 4xxの場合はリプライしてないことにする
 | 
			
		||||
			if (e.statusCode >= 400 && e.statusCode < 500) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue