Files
outline/shared/editor/lib/prosemirror-recreate-transform/copy.ts

4 lines
85 B
TypeScript

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