aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/lib/Request.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/lib/Request.ts')
-rw-r--r--src/stores/lib/Request.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/lib/Request.ts b/src/stores/lib/Request.ts
index e7739bba1..566fa5018 100644
--- a/src/stores/lib/Request.ts
+++ b/src/stores/lib/Request.ts
@@ -4,7 +4,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
4type Hook = (request: Request) => void; 4type Hook = (request: Request) => void;
5 5
6export default class Request { 6export default class Request {
7 static _hooks: Hook[] = []; 7 static readonly _hooks: Hook[] = [];
8 8
9 static registerHook(hook: Hook) { 9 static registerHook(hook: Hook) {
10 Request._hooks.push(hook); 10 Request._hooks.push(hook);