Skip to content

Commit 18e2d1b

Browse files
committed
Fix lint error by annotating stateHooks assignment with type
1 parent 7e06ea8 commit 18e2d1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/scripts/app-init.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ let scriptsLoadInitiated = false;
66
const { chrome } = globalThis;
77
const testMode = process.env.IN_TEST;
88

9+
/**
10+
* @type {globalThis.stateHooks}
11+
*/
912
globalThis.stateHooks = globalThis.stateHooks || {};
1013

1114
const loadTimeLogs = [];

0 commit comments

Comments
 (0)