1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-06 23:56:13 +02:00

Tools: Add eslint rule "@typescript-eslint/no-inferrable-types"

This commit is contained in:
Laurent Cozic
2023-02-05 11:32:28 +00:00
parent e629a4d325
commit 0019bb8d6b
18 changed files with 24 additions and 23 deletions

View File

@ -100,7 +100,7 @@ export default class MenuUtils {
}
public commandsToMenuItems(commandNames: string[], onClick: Function, locale: string): MenuItems {
const key: string = `${this.keymapService.lastSaveTime}_${commandNames.join('_')}_${locale}`;
const key = `${this.keymapService.lastSaveTime}_${commandNames.join('_')}_${locale}`;
if (this.menuItemCache_[key]) return this.menuItemCache_[key];
const output: MenuItems = {};