mirror of
https://github.com/yjs/yjs.git
synced 2026-01-10 08:18:02 -05:00
Merge pull request #725 from mattkrick/mattkrick-patch-1
fix typings: remove newValue from YEvent
This commit is contained in:
@@ -39,7 +39,7 @@ export class YEvent {
|
||||
*/
|
||||
this._changes = null
|
||||
/**
|
||||
* @type {null | Map<string, { action: 'add' | 'update' | 'delete', oldValue: any, newValue: any }>}
|
||||
* @type {null | Map<string, { action: 'add' | 'update' | 'delete', oldValue: any }>}
|
||||
*/
|
||||
this._keys = null
|
||||
/**
|
||||
@@ -82,7 +82,7 @@ export class YEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* @type {Map<string, { action: 'add' | 'update' | 'delete', oldValue: any, newValue: any }>}
|
||||
* @type {Map<string, { action: 'add' | 'update' | 'delete', oldValue: any }>}
|
||||
*/
|
||||
get keys () {
|
||||
if (this._keys === null) {
|
||||
|
||||
Reference in New Issue
Block a user