marginally better typings for applyDelta - #689

This commit is contained in:
Kevin Jahns
2025-01-12 19:41:19 +01:00
parent 2d2e662d4d
commit bb5410b6dd
3 changed files with 6 additions and 6 deletions

View File

@@ -961,7 +961,7 @@ export class YText extends AbstractType {
/**
* Apply a {@link Delta} on this shared YText type.
*
* @param {any} delta The changes to apply on this element.
* @param {Array<any>} delta The changes to apply on this element.
* @param {object} opts
* @param {boolean} [opts.sanitize] Sanitize input delta. Removes ending newlines if set to true.
*