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

1 comment on commit aa92df4

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chromatic detects changes. Please review the changes on Chromatic.

Please sign in to comment.