add more accurate typing for YEvent.target

This commit is contained in:
Ville Immonen
2022-01-15 14:21:55 +02:00
parent 6403bc2bb5
commit 81a36a2762
9 changed files with 15 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ import { typeListSlice } from './AbstractType.js'
/**
* Event that describes the changes on a YArray
* @template T
* @extends YEvent<YArray<T>>
*/
export class YArrayEvent extends YEvent {
/**