(map: Record<string, unknown>)
| 1 | export const formatMapFromESModule = <T>(map: Record<string, unknown>) => { |
| 2 | return Object.keys(map).reduce<Record<string, T>>((result, key) => { |
| 3 | result[key] = map[key] as T |
| 4 | return result |
| 5 | }, {}) |
| 6 | } |
| 7 | |
| 8 | export const getSystemFonts = async () => { |
| 9 | try { |