(loc: Partial<TLocation>)
| 66 | }; |
| 67 | |
| 68 | export const locationToString = (loc: Partial<TLocation>) => { |
| 69 | if (!loc) { |
| 70 | return undefined; |
| 71 | } |
| 72 | |
| 73 | return [loc.city, loc.subdivision, loc.country].filter(Boolean).join(', '); |
| 74 | }; |
| 75 | |
| 76 | export const excludeProperties = < |
| 77 | T, |
no outgoing calls
no test coverage detected