fixed all type issues

This commit is contained in:
Kevin Jahns
2019-04-03 13:23:27 +02:00
parent 92ca001cdc
commit 6578727c9c
8 changed files with 116 additions and 21 deletions

View File

@@ -19,18 +19,18 @@ export const testSetProperty = tc => {
*/
export const testEvents = tc => {
const { testConnector, users, xml0, xml1 } = init(tc, { users: 2 })
let event = { attributesChanged: new Set() }
let remoteEvent = { attributesChanged: new Set() }
/**
* @type {any}
*/
let event
/**
* @type {any}
*/
let remoteEvent
xml0.observe(e => {
delete e._content
delete e.nodes
delete e.values
event = e
})
xml1.observe(e => {
delete e._content
delete e.nodes
delete e.values
remoteEvent = e
})
xml0.setAttribute('key', 'value')