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

@@ -13,18 +13,18 @@ import { isDeleted } from './DeleteSet.js'
*/
export class YEvent {
/**
* @param {AbstractType<any> target The changed type.
* @param {AbstractType<any>} target The changed type.
* @param {Transaction} transaction
*/
constructor (target, transaction) {
/**
* The type on which this event was created on.
* @type {AbstractType<any>
* @type {AbstractType<any>}
*/
this.target = target
/**
* The current target on which the observe callback is called.
* @type {AbstractType<any>
* @type {AbstractType<any>}
*/
this.currentTarget = target
/**