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