socket, binary, usync: fix linting
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user