(content?: Content)
| 47 | storePath; |
| 48 | |
| 49 | const getOrSetStore = async (content?: Content): Promise<Content> => |
| 50 | await ( |
| 51 | await fetch(storeUrl, { |
| 52 | ...(content ? {method: PUT, body: jsonStringWithMap(content)} : {}), |
| 53 | mode: 'cors', |
| 54 | cache: 'no-store', |
| 55 | }) |
| 56 | ).json(); |
| 57 | |
| 58 | const getPersisted = getOrSetStore; |
| 59 |
no test coverage detected
searching dependent graphs…