diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 14:55:27 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 14:55:27 -0500 |
commit | 7aed9a371b0d74c0d75179a08068e8935b76d780 (patch) | |
tree | 2d895b20e31cb03c8200e4429d987c6d253b1da7 /ext/js/dom/text-source-range.js | |
parent | 5dc16745468c229e7c31f6cddaad83fb9c36b98f (diff) |
Update types
Diffstat (limited to 'ext/js/dom/text-source-range.js')
-rw-r--r-- | ext/js/dom/text-source-range.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/dom/text-source-range.js b/ext/js/dom/text-source-range.js index 5dbbd636..fd09fdda 100644 --- a/ext/js/dom/text-source-range.js +++ b/ext/js/dom/text-source-range.js @@ -206,7 +206,7 @@ export class TextSourceRange { /** * Checks whether another text source has the same starting point. - * @param {TextSourceElement|TextSourceRange} other The other source to test. + * @param {import('text-source').TextSource} other The other source to test. * @returns {boolean} `true` if the starting points are equivalent, `false` otherwise. * @throws {Error} An exception can be thrown if `Range.compareBoundaryPoints` fails, * which shouldn't happen, but the handler is kept in case of unexpected errors. |