socket, binary, usync: fix linting

This commit is contained in:
Rajeh Taher
2025-03-14 23:38:53 +02:00
parent aa0579d12d
commit a29138758c
4 changed files with 4 additions and 4 deletions

View File

@@ -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 []