()
| 88 | const illustrationPromises = getSharedResource<Map<string, Promise<UnsafeIllustrationData>>>("SVGIllustration.promises", new Map()); |
| 89 | |
| 90 | const getCollection = () => { |
| 91 | const theme = getTheme(); |
| 92 | |
| 93 | if (IllustrationCollections.has(theme)) { |
| 94 | return IllustrationCollections.get(theme); |
| 95 | } |
| 96 | |
| 97 | return FALLBACK_COLLECTION; |
| 98 | }; |
| 99 | |
| 100 | /** |
| 101 | * Processes the name of the illustration |
no test coverage detected
searching dependent graphs…