Skip to content

Commit

Permalink
chore(frontend): add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Jul 4, 2023
1 parent 61e7eb8 commit aa92df4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/src/scripts/clone.ts
Original file line number Diff line number Diff line change
@@ -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[];

Expand Down

0 comments on commit aa92df4

Please sign in to comment.