jsdoc fixes
This commit is contained in:
parent
759ecb21f7
commit
ed3b31e58f
@ -341,13 +341,11 @@ class YTextEvent extends YEvent {
|
||||
*/
|
||||
this._delta = null
|
||||
}
|
||||
// TODO: Should put this in a separate function. toDelta shouldn't be included
|
||||
// in every Yjs distribution
|
||||
/**
|
||||
* Compute the changes in the delta format.
|
||||
* A {@link https://quilljs.com/docs/delta/|Quill Delta}) that represents the changes on the document.
|
||||
*
|
||||
* @type {Array<{delete:number|undefined,retain:number|undefined,insert:string|undefined,attributes:Object<string,any>}>} A {@link https://quilljs.com/docs/delta/|Quill Delta}) that
|
||||
* represents the changes on the document.
|
||||
* @type {Array<{delete:number|undefined,retain:number|undefined,insert:string|undefined,attributes:Object<string,any>}>}
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
|
@ -423,7 +423,6 @@ export class YXmlElement extends YXmlFragment {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: outsource the binding property.
|
||||
/**
|
||||
* Creates a Dom Element that mirrors this YXmlElement.
|
||||
*
|
||||
|
@ -15,11 +15,13 @@ export class ID {
|
||||
*/
|
||||
constructor (client, clock) {
|
||||
/**
|
||||
* @type {number} Client id
|
||||
* Client id
|
||||
* @type {number}
|
||||
*/
|
||||
this.client = client
|
||||
/**
|
||||
* @type {number} unique per client id, continuous number
|
||||
* unique per client id, continuous number
|
||||
* @type {number}
|
||||
*/
|
||||
this.clock = clock
|
||||
}
|
||||
|
@ -50,7 +50,8 @@ export class Transaction {
|
||||
*/
|
||||
constructor (y) {
|
||||
/**
|
||||
* @type {Y} The Yjs instance.
|
||||
* The Yjs instance.
|
||||
* @type {Y}
|
||||
*/
|
||||
this.y = y
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user