diff --git a/src/utilities/copyTextToClipboard.ts b/src/utilities/copyTextToClipboard.ts index 771c307153..0efe9a24d1 100644 --- a/src/utilities/copyTextToClipboard.ts +++ b/src/utilities/copyTextToClipboard.ts @@ -1,8 +1,8 @@ /** * Copies a piece of text to the clipboard. Adapted from [StackOverflow][1]. * - * @param {string} text the text to copy - * @returns {Promise} whether the operation was successful + * @param {string} text The text to copy. + * @returns {Promise} Whether the operation was successful. */ export async function copyTextToClipboard(text: string): Promise { if (navigator.clipboard) {