diff options
Diffstat (limited to 'src/utils/clipboard.js')
-rw-r--r-- | src/utils/clipboard.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/clipboard.js b/src/utils/clipboard.js index 2167a6abb..bdab8d56d 100644 --- a/src/utils/clipboard.js +++ b/src/utils/clipboard.js @@ -1,15 +1,15 @@ /**
- * @typedef {Object} ClipboardContent
+ * @typedef {object} ClipboardContent
* @property {('file'|'text'|'none')} kind content type (file or text)
* @property {File[] | FileList | undefined} files files array
- * @property {String | undefined} text text content
+ * @property {string | undefined} text text content
*/
/**
* Fetches the clipboard content from the event.
*
* @param {ClipboardEvent} event native event
- * @returns {ClipboardContent}
+ * @return {ClipboardContent}
*/
const fetchClipboardContent = function(event) {
const clipboardData = event.clipboardData
|