summaryrefslogtreecommitdiff
path: root/ext/js/display/option-toggle-hotkey-handler.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 15:16:07 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 15:16:07 -0500
commitac562ca36417f2d9fdb860d1f8a879fdccde438d (patch)
treef0d3efffed3651a42abfb05c5e3ea6f6fd6af7ae /ext/js/display/option-toggle-hotkey-handler.js
parent7aed9a371b0d74c0d75179a08068e8935b76d780 (diff)
Update types
Diffstat (limited to 'ext/js/display/option-toggle-hotkey-handler.js')
-rw-r--r--ext/js/display/option-toggle-hotkey-handler.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/js/display/option-toggle-hotkey-handler.js b/ext/js/display/option-toggle-hotkey-handler.js
index 9677e86b..531e208d 100644
--- a/ext/js/display/option-toggle-hotkey-handler.js
+++ b/ext/js/display/option-toggle-hotkey-handler.js
@@ -16,17 +16,18 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import {generateId} from '../core.js';
import {ExtensionError} from '../core/extension-error.js';
import {yomitan} from '../yomitan.js';
export class OptionToggleHotkeyHandler {
/**
- * @param {Display} display
+ * @param {import('./display.js').Display} display
*/
constructor(display) {
- /** @type {Display} */
+ /** @type {import('./display.js').Display} */
this._display = display;
- /** @type {?DisplayNotification} */
+ /** @type {?import('./display-notification.js').DisplayNotification} */
this._notification = null;
/** @type {?number} */
this._notificationHideTimer = null;