Skip to content

Commit

Permalink
Merge pull request #233 from rideg/add_typing_232
Browse files Browse the repository at this point in the history
Amend typing of YEvent.changes, fixes #232
  • Loading branch information
dmonad committed Sep 28, 2020
2 parents c2f0ca3 + 4d48224 commit 32b1338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/YEvent.js
Expand Up @@ -78,7 +78,7 @@ export class YEvent {
}

/**
* @return {{added:Set<Item>,deleted:Set<Item>,delta:Array<{insert:Array<any>}|{delete:number}|{retain:number}>}}
* @return {{added:Set<Item>,deleted:Set<Item>,keys:Map<string,{action:'add'|'update'|'delete',oldValue:any}>,delta:Array<{insert:Array<any>}|{delete:number}|{retain:number}>}}
*/
get changes () {
let changes = this._changes
Expand Down

0 comments on commit 32b1338

Please sign in to comment.