(value: string)
| 25 | export type ThemeName = BuiltInTheme | (string & {}); |
| 26 | |
| 27 | export function isBuiltInTheme(value: string): value is BuiltInTheme { |
| 28 | return value === 'dark' || value === 'light' || value === 'auto'; |
| 29 | } |
| 30 | |
| 31 | export function isThemeName(_value: string): _value is ThemeName { |
| 32 | return true; // any string is a valid theme name (custom themes) |
no outgoing calls
no test coverage detected