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

@ -39,8 +39,8 @@ const keyMap = {
};
interface IGlobalHotkeys {
children: React.ReactNode
node: React.MutableRefObject<HTMLDivElement | null>
children: React.ReactNode;
node: React.MutableRefObject<HTMLDivElement | null>;
}
const GlobalHotkeys: React.FC<IGlobalHotkeys> = ({ children, node }) => {

View File

@ -11,21 +11,21 @@ import ColumnsArea from '../components/columns-area';
import BundleContainer from '../containers/bundle-container';
type PageProps = {
params?: MatchType['params']
layout?: any
children: React.ReactNode
params?: MatchType['params'];
layout?: any;
children: React.ReactNode;
};
interface IWrappedRoute extends RouteProps {
component: (...args: any[]) => any
page?: React.ComponentType<PageProps>
content?: React.ReactNode
componentParams?: Record<string, any>
layout?: any
publicRoute?: boolean
staffOnly?: boolean
adminOnly?: boolean
developerOnly?: boolean
component: (...args: any[]) => any;
page?: React.ComponentType<PageProps>;
content?: React.ReactNode;
componentParams?: Record<string, any>;
layout?: any;
publicRoute?: boolean;
staffOnly?: boolean;
adminOnly?: boolean;
developerOnly?: boolean;
}
const WrappedRoute: React.FC<IWrappedRoute> = ({