properly annotate DeltaItem.insert - fixes #227
This commit is contained in:
parent
6a9f853d12
commit
b4fc073aa5
@ -501,7 +501,7 @@ const deleteText = (transaction, currPos, length) => {
|
||||
* @typedef {Object} DeltaItem
|
||||
* @property {number|undefined} DeltaItem.delete
|
||||
* @property {number|undefined} DeltaItem.retain
|
||||
* @property {string|undefined} DeltaItem.string
|
||||
* @property {string|undefined} DeltaItem.insert
|
||||
* @property {Object<string,any>} DeltaItem.attributes
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user