* Serialize a value to JSON and back. Alias for JSON.parse(JSON.stringify(value)). * Used where we explicitly want JSON serialization behavior.
(value: T)
| 9 | * Used where we explicitly want JSON serialization behavior. |
| 10 | */ |
| 11 | function jsonClone<T>(value: T): T { |
| 12 | return JSON.parse(JSON.stringify(value)); |
| 13 | } |
| 14 | |
| 15 | export interface AsyncQuery { |
| 16 | "@type": "AsyncQuery"; |
no outgoing calls
no test coverage detected