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

@ -46,13 +46,13 @@ import { $createMentionNode } from '../nodes/mention-node';
import type { AutoSuggestion } from 'soapbox/components/autosuggest-input';
type QueryMatch = {
leadOffset: number
matchingString: string
leadOffset: number;
matchingString: string;
};
type Resolution = {
match: QueryMatch
getRect: () => DOMRect
match: QueryMatch;
getRect: () => DOMRect;
};
type MenuRenderFn = (
@ -199,8 +199,8 @@ const useDynamicPositioning = (
};
const LexicalPopoverMenu = ({ anchorElementRef, menuRenderFn }: {
anchorElementRef: MutableRefObject<HTMLElement>
menuRenderFn: MenuRenderFn
anchorElementRef: MutableRefObject<HTMLElement>;
menuRenderFn: MenuRenderFn;
}): JSX.Element | null => menuRenderFn(anchorElementRef);
const useMenuAnchorRef = (
@ -272,9 +272,9 @@ const useMenuAnchorRef = (
};
type AutosuggestPluginProps = {
composeId: string
suggestionsHidden: boolean
setSuggestionsHidden: (value: boolean) => void
composeId: string;
suggestionsHidden: boolean;
setSuggestionsHidden: (value: boolean) => void;
};
const AutosuggestPlugin = ({