(data: T)
| 140 | |
| 141 | |
| 142 | function clone<T>(data: T): T { |
| 143 | return typeof data === 'object' ? (JSON.parse(JSON.stringify(data)) as T) : data |
| 144 | } |
| 145 | function separate<T>(data: T, callback: (value: T) => void): void { |
| 146 | queueMicrotask(() => { |
| 147 | const v = clone(data) |
no outgoing calls
no test coverage detected
searching dependent graphs…