From 9b3a24e37acc47f0eb6497d5817dc397fc2045fb Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Mon, 8 Sep 2025 21:33:38 +0800 Subject: [PATCH] chore: make lint unhappy --- client/Data.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/Data.ts b/client/Data.ts index e420f2b..e9c9337 100644 --- a/client/Data.ts +++ b/client/Data.ts @@ -28,7 +28,9 @@ declare global { } // deno-lint-ignore no-window -(window.data == null) && (window.data = new Proxy({}, { +(window.data == null) && (window.data = new Proxy({ + apply() {} +}, { get(_obj, k) { if (k == '_cached') return _data_cached if (k == 'apply') return () => localStorage.tws_data = aes.enc(JSON.stringify(_data_cached), key)