(themeKey: ThemeKey, namespace: ThemeKey)
| 33 | ]) |
| 34 | |
| 35 | function isIgnoredThemeKey(themeKey: ThemeKey, namespace: ThemeKey) { |
| 36 | return (ignoredThemeKeyMap.get(namespace) ?? []).some( |
| 37 | (ignoredThemeKey) => themeKey === ignoredThemeKey || themeKey.startsWith(`${ignoredThemeKey}-`), |
| 38 | ) |
| 39 | } |
| 40 | |
| 41 | export class Theme { |
| 42 | public prefix: string | null = null |
no test coverage detected