From c67126579a9a76f70d71f1e97f4a100efa21026c Mon Sep 17 00:00:00 2001 From: kamecha Date: Thu, 14 Mar 2024 21:05:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20cache=E3=82=92model=E3=81=8B=E3=82=89?= =?UTF-8?q?=E3=81=AE=E3=81=BF=E4=BD=BF=E3=81=88=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E5=88=B6=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- denops/traqvim/model.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/denops/traqvim/model.ts b/denops/traqvim/model.ts index 1158be9..09304e1 100644 --- a/denops/traqvim/model.ts +++ b/denops/traqvim/model.ts @@ -15,7 +15,8 @@ export type channelMessageOptions = { order?: "asc" | "desc"; }; -export const channelMapCache: Map = new Map(); +// TODO: ↓チャンネル周りはclassに分離しても良いかも +const channelMapCache: Map = new Map(); const getChannelCache = () => { return channelMapCache;