summaryrefslogtreecommitdiff
path: root/ext/js/script/dynamic-loader-sentinel.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/script/dynamic-loader-sentinel.js')
-rw-r--r--ext/js/script/dynamic-loader-sentinel.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/js/script/dynamic-loader-sentinel.js b/ext/js/script/dynamic-loader-sentinel.js
index 3c06fc02..d77f3cb0 100644
--- a/ext/js/script/dynamic-loader-sentinel.js
+++ b/ext/js/script/dynamic-loader-sentinel.js
@@ -18,5 +18,4 @@
import {yomitan} from '../yomitan.js';
-
-yomitan.trigger('dynamicLoaderSentinel', {script: import.meta.url});
+yomitan.trigger('dynamicLoaderSentinel', /** @type {import('dynamic-loader').DynamicLoaderSentinelDetails} */ ({scriptUrl: import.meta.url}));