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

@@ -39,7 +39,7 @@ export const YXmlTextRefID = 6
*/
export class ContentType {
/**
* @param {AbstractType<YEvent>} type
* @param {AbstractType<any>} type
*/
constructor (type) {
/**