From e605428ceb3639f5c45dcca8da81076942e54012 Mon Sep 17 00:00:00 2001 From: Dustin Do Date: Tue, 7 Jul 2026 20:19:54 +0700 Subject: [PATCH] docs(clipboard): fix duplicate jsdoc returns tag --- core/clipboard.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/clipboard.js b/core/clipboard.js index 5f82fe8..188a7e6 100644 --- a/core/clipboard.js +++ b/core/clipboard.js @@ -47,9 +47,8 @@ export function buildClipboardPermissionsLegacy(origin) { * @param {Object} focusDescriptor - Information about what element has focus on the remote. * @param {boolean} focusDescriptor.isContentEditable - True if focused element is contenteditable or a rich editor. * @param {boolean} focusDescriptor.isRichEditor - True if in a known rich-editor context (Gmail, Docs, etc). - * @returns {Object} Paste route directive. - * @returns {string} .route - Either 'insertText' (plain) or 'preseed' (rich). - * @returns {string} .reason - Human-readable explanation. + * @returns {{route: string, reason: string}} Paste route directive — `route` is + * 'insertText' (plain) or 'preseed' (rich); `reason` is a human-readable explanation. */ export function selectPasteRoute(focusDescriptor) { const { isContentEditable = false, isRichEditor = false } = focusDescriptor || {}