From aa92df4e50f49537060bf0ff2199de839edcb5ca Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 4 Jul 2023 11:21:44 +0000 Subject: [PATCH] chore(frontend): add comment --- packages/frontend/src/scripts/clone.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/scripts/clone.ts b/packages/frontend/src/scripts/clone.ts index 16fad2412..cf8fa64ba 100644 --- a/packages/frontend/src/scripts/clone.ts +++ b/packages/frontend/src/scripts/clone.ts @@ -1,5 +1,7 @@ // structredCloneが遅いため // SEE: http://var.blog.jp/archives/86038606.html +// あと、Vue RefをIndexedDBに保存しようとしてstructredCloneを使ったらエラーになった +// https://github.com/misskey-dev/misskey/pull/8098#issuecomment-1114144045 type Cloneable = string | number | boolean | null | { [key: string]: Cloneable } | Cloneable[];