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