File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -193,8 +193,7 @@ const registerInPageContentScript = async () => {
193193 * is never called.
194194 * For MV2 builds, the listener is added in `background.js` instead.
195195 *
196- * @param {object } details - Event details.
197- * @param {string } details.reason - The reason that this event was dispatched.
196+ * @param {chrome.runtime.InstalledDetails } details - Event details.
198197 */
199198function onInstalledListener ( details ) {
200199 if ( details . reason === 'install' ) {
Original file line number Diff line number Diff line change @@ -149,8 +149,7 @@ if (!isManifestV3) {
149149 * is never called.
150150 * There is no `app-init` file on MV2 builds, so we add a listener here instead.
151151 *
152- * @param {object } details - Event details.
153- * @param {string } details.reason - The reason that this event was dispatched.
152+ * @param {import('webextension-polyfill').Runtime.OnInstalledDetailsType } details - Event details.
154153 */
155154 const onInstalledListener = ( details ) => {
156155 if ( details . reason === 'install' ) {
You can’t perform that action at this time.
0 commit comments