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

@@ -12,7 +12,7 @@ import { isFullscreen, requestFullscreen, exitFullscreen } from '../ui/util/full
const DEFAULT_HEIGHT = 300;
type Position = { x: number, y: number };
type Position = { x: number; y: number };
const messages = defineMessages({
play: { id: 'video.play', defaultMessage: 'Play' },
@@ -99,21 +99,21 @@ export const fileNameFromURL = (str: string) => {
};
interface IVideo {
preview?: string
src: string
alt?: string
width?: number
height?: number
startTime?: number
detailed?: boolean
autoFocus?: boolean
inline?: boolean
cacheWidth?: (width: number) => void
visible?: boolean
blurhash?: string
link?: React.ReactNode
aspectRatio?: number
displayMedia?: string
preview?: string;
src: string;
alt?: string;
width?: number;
height?: number;
startTime?: number;
detailed?: boolean;
autoFocus?: boolean;
inline?: boolean;
cacheWidth?: (width: number) => void;
visible?: boolean;
blurhash?: string;
link?: React.ReactNode;
aspectRatio?: number;
displayMedia?: string;
}
const Video: React.FC<IVideo> = ({