properly annotate DeltaItem.insert - fixes #227

This commit is contained in:
Kevin Jahns 2020-08-08 18:29:50 +02:00
parent 6a9f853d12
commit b4fc073aa5

View File

@ -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
*/