mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
socket, binary, usync: fix linting
This commit is contained in:
@@ -6,7 +6,7 @@ import { BinaryNode } from './types'
|
||||
|
||||
export const getBinaryNodeChildren = (node: BinaryNode | undefined, childTag: string) => {
|
||||
if(Array.isArray(node?.content)) {
|
||||
return node!.content.filter(item => item.tag === childTag)
|
||||
return node.content.filter(item => item.tag === childTag)
|
||||
}
|
||||
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user