Files
docmost/packages/editor-ext/src/lib/recreate-transform/copy.ts
T
Philip Okugbe 5506eb194b feat: page history diff (#1891)
* Show actual history changes
* V2 - WIP
* feat: page history diff
* fix: exclude content from history listing

---------

Co-authored-by: Jason Norwood-Young <jason@10layer.com>
2026-02-03 11:55:20 -08:00

4 lines
85 B
TypeScript

export function copy<T>(value: T): T {
return JSON.parse(JSON.stringify(value));
}