Upgrade to typescript-eslint v6 (#25904)
				
					
				
			This commit is contained in:
		@@ -28,9 +28,10 @@ export type SearchData = [
 | 
			
		||||
  Emoji['unified'],
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
export interface ShortCodesToEmojiData {
 | 
			
		||||
  [key: ShortCodesToEmojiDataKey]: [FilenameData, SearchData];
 | 
			
		||||
}
 | 
			
		||||
export type ShortCodesToEmojiData = Record<
 | 
			
		||||
  ShortCodesToEmojiDataKey,
 | 
			
		||||
  [FilenameData, SearchData]
 | 
			
		||||
>;
 | 
			
		||||
export type EmojisWithoutShortCodes = FilenameData[];
 | 
			
		||||
 | 
			
		||||
export type EmojiCompressed = [
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ import emojiCompressed from './emoji_compressed';
 | 
			
		||||
import { unicodeToUnifiedName } from './unicode_to_unified_name';
 | 
			
		||||
 | 
			
		||||
type Emojis = {
 | 
			
		||||
  [key in keyof ShortCodesToEmojiData]: {
 | 
			
		||||
  [key in NonNullable<keyof ShortCodesToEmojiData>]: {
 | 
			
		||||
    native: BaseEmoji['native'];
 | 
			
		||||
    search: Search;
 | 
			
		||||
    short_names: Emoji['short_names'];
 | 
			
		||||
 
 | 
			
		||||
@@ -18,9 +18,9 @@ export const ColumnSettings: React.FC = () => {
 | 
			
		||||
  const dispatch = useAppDispatch();
 | 
			
		||||
  const onChange = useCallback(
 | 
			
		||||
    (key: string, checked: boolean) => {
 | 
			
		||||
      void dispatch(changeSetting(['home', ...key], checked));
 | 
			
		||||
      dispatch(changeSetting(['home', ...key], checked));
 | 
			
		||||
    },
 | 
			
		||||
    [dispatch]
 | 
			
		||||
    [dispatch],
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user