1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Tools: Apply rule @typescript-eslint/member-delimiter-style

This commit is contained in:
Laurent Cozic
2020-11-12 19:29:22 +00:00
parent 42799b0662
commit 17d835d694
103 changed files with 964 additions and 953 deletions

View File

@ -5,27 +5,27 @@ const { createSelectorCreator, defaultMemoize } = require('reselect');
const { createCachedSelector } = require('re-reselect');
interface MenuItem {
id: string,
label: string,
click: Function,
role?: any,
accelerator?: string,
id: string;
label: string;
click: Function;
role?: any;
accelerator?: string;
}
interface MenuItems {
[key: string]: MenuItem,
[key: string]: MenuItem;
}
interface MenuItemProps {
[key: string]: any,
[key: string]: any;
}
interface MenuItemPropsCache {
[key: string]: any,
[key: string]: any;
}
interface MenuItemCache {
[key: string]: MenuItems,
[key: string]: MenuItems;
}
const createShallowObjectEqualSelector = createSelectorCreator(

View File

@ -4,20 +4,20 @@ import { stateUtils } from '../../reducer';
const separatorItem = { type: 'separator' };
export interface ToolbarButtonInfo {
name: string,
tooltip: string,
iconName: string,
enabled: boolean,
onClick(): void,
title: string,
name: string;
tooltip: string;
iconName: string;
enabled: boolean;
onClick(): void;
title: string;
}
interface ToolbarButtonCacheItem {
info: ToolbarButtonInfo,
info: ToolbarButtonInfo;
}
interface ToolbarButtonCache {
[key: string]: ToolbarButtonCacheItem,
[key: string]: ToolbarButtonCacheItem;
}
export default class ToolbarButtonUtils {