Skip to content

Commit

Permalink
properly annotate DeltaItem.insert - fixes #227
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Aug 8, 2020
1 parent 6a9f853 commit b4fc073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/YText.js
Expand Up @@ -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
*/

Expand Down

0 comments on commit b4fc073

Please sign in to comment.