We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ce2fe commit a9f461eCopy full SHA for a9f461e
1 file changed
lib/node/node.ts
@@ -422,6 +422,14 @@ export abstract class Node {
422
*/
423
abstract clone(): Node
424
425
+ /**
426
+ * String representation of the node
427
+ */
428
+ toString(): string {
429
+ const constructorData: NodeConstructorData = [this._data, this._knownDavService]
430
+ return JSON.stringify(constructorData)
431
+ }
432
+
433
}
434
435
/**
0 commit comments