Merge pull request #725 from mattkrick/mattkrick-patch-1

fix typings: remove newValue from YEvent
This commit is contained in:
Kevin Jahns
2025-07-11 17:26:30 +02:00
committed by GitHub

View File

@@ -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) {