fix a few tsc errors (96 remaining)

This commit is contained in:
Kevin Jahns
2019-03-13 02:15:43 +01:00
parent 5a42a94cf4
commit 293527e62b
15 changed files with 63 additions and 86 deletions

View File

@@ -2,10 +2,9 @@
* @module types
*/
import { Item } from '../structs/Item.js'
import { Item, logItemHelper } from '../structs/Item.js'
import { Type } from '../structs/Type.js'
import { ItemJSON } from '../structs/ItemJSON.js'
import * as stringify from '../utils/structStringify.js'
import { YEvent } from '../utils/YEvent.js'
import { ItemBinary } from '../structs/ItemBinary.js'
import { isVisible } from '../utils/snapshot.js'
@@ -208,6 +207,6 @@ export class YMap extends Type {
* @private
*/
_logString () {
return stringify.logItemHelper('YMap', this, `mapSize:${this._map.size}`)
return logItemHelper('YMap', this, `mapSize:${this._map.size}`)
}
}