(data: any)
| 13 | const cachedStyleNameToValueMap: Map<string, string> = new Map(); |
| 14 | |
| 15 | export function getStyleXData(data: any): StyleXPlugin { |
| 16 | const sources = new Set<string>(); |
| 17 | const resolvedStyles = {}; |
| 18 | |
| 19 | crawlData(data, sources, resolvedStyles); |
| 20 | |
| 21 | return { |
| 22 | sources: Array.from(sources).sort(), |
| 23 | resolvedStyles, |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | export function crawlData( |
| 28 | data: any, |
no test coverage detected