eslint: use semicolon TypeScript delimeter
This commit is contained in:
@ -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) => {
|
||||
|
||||
@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user