style: format files with prettier and fix eslint issues
This commit is contained in:
1 parent
7648d1fd4c
commit
a2b03d3014
42 files changed
+639
-666
No files matched your search
@@ -78,8 +78,6 @@ export const THEME_ICON_NAMES = [
|
||||
|
||||
export type ThemeIconName = (typeof THEME_ICON_NAMES)[number] | (string & {});
|
||||
|
||||
const ICON_NAME_SET = new Set<string>(THEME_ICON_NAMES);
|
||||
|
||||
export const isThemeIconName = (value: unknown): value is ThemeIconName =>
|
||||
typeof value === 'string' && value.trim().length > 0 && value.length <= 120;
|
||||
|
||||
|
||||
Reference in new issue
Block a user