type toJSON returns

This commit is contained in:
Kevin Jahns
2020-01-22 16:44:30 +01:00
parent 6cd9e2be32
commit 0e6deab9c9
3 changed files with 7 additions and 2 deletions

View File

@@ -70,6 +70,9 @@ export class YXmlText extends YText {
}).join('')
}
/**
* @return {string}
*/
toJSON () {
return this.toString()
}