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

@@ -48,7 +48,7 @@ export class USyncDeviceProtocol implements USyncQueryProtocol {
const keyIndexNode = getBinaryNodeChild(node, 'key-index-list')
if(Array.isArray(deviceListNode?.content)) {
for(const { tag, attrs } of deviceListNode!.content) {
for(const { tag, attrs } of deviceListNode.content) {
const id = +attrs.id
const keyIndex = +attrs['key-index']
if(tag === 'device') {