summaryrefslogtreecommitdiff
path: root/ext/js/comm/clipboard-monitor.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/comm/clipboard-monitor.js')
-rw-r--r--ext/js/comm/clipboard-monitor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/comm/clipboard-monitor.js b/ext/js/comm/clipboard-monitor.js
index a7cd8833..d101b467 100644
--- a/ext/js/comm/clipboard-monitor.js
+++ b/ext/js/comm/clipboard-monitor.js
@@ -24,9 +24,9 @@ import {isStringPartiallyJapanese} from '../language/ja/japanese.js';
*/
export class ClipboardMonitor extends EventDispatcher {
/**
- * @param {{clipboardReader: import('clipboard-monitor').ClipboardReaderLike}} details
+ * @param {import('clipboard-monitor').ClipboardReaderLike} clipboardReader
*/
- constructor({clipboardReader}) {
+ constructor(clipboardReader) {
super();
/** @type {import('clipboard-monitor').ClipboardReaderLike} */
this._clipboardReader = clipboardReader;