eslint: use semicolon TypeScript delimeter

This commit is contained in:
Alex Gleason
2023-10-02 13:54:02 -05:00
parent 702124fb79
commit 645ce60a5f
479 changed files with 1928 additions and 1938 deletions

View File

@ -164,13 +164,13 @@ const buildMessage = (
const avatarSize = 48;
interface INotificaton {
hidden?: boolean
notification: NotificationEntity
onMoveUp?: (notificationId: string) => void
onMoveDown?: (notificationId: string) => void
onReblog?: (status: StatusEntity, e?: KeyboardEvent) => void
getScrollPosition?: () => ScrollPosition | undefined
updateScrollBottom?: (bottom: number) => void
hidden?: boolean;
notification: NotificationEntity;
onMoveUp?: (notificationId: string) => void;
onMoveDown?: (notificationId: string) => void;
onReblog?: (status: StatusEntity, e?: KeyboardEvent) => void;
getScrollPosition?: () => ScrollPosition | undefined;
updateScrollBottom?: (bottom: number) => void;
}
const Notification: React.FC<INotificaton> = (props) => {

View File

@ -6,13 +6,13 @@ import type { Map as ImmutableMap } from 'immutable';
interface ISettingToggle {
/** Unique identifier for the Toggle. */
id?: string
id?: string;
/** The full user settings map. */
settings: ImmutableMap<string, any>
settings: ImmutableMap<string, any>;
/** Array of key names leading into the setting map. */
settingPath: string[]
settingPath: string[];
/** Callback when the setting is toggled. */
onChange: (settingPath: string[], checked: boolean) => void
onChange: (settingPath: string[], checked: boolean) => void;
}
/** Stateful toggle to change user settings. */