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

Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error

This commit is contained in:
Laurent Cozic
2023-03-06 14:22:01 +00:00
parent aa4af69afc
commit c1db7182ac
129 changed files with 1252 additions and 1296 deletions

View File

@ -26,7 +26,7 @@ interface ContextMenuProps {
}
export default class NoteListUtils {
static makeContextMenu(noteIds: string[], props: ContextMenuProps) {
public static makeContextMenu(noteIds: string[], props: ContextMenuProps) {
const cmdService = CommandService.instance();
const menuUtils = new MenuUtils(cmdService);
@ -212,7 +212,7 @@ export default class NoteListUtils {
return menu;
}
static async confirmDeleteNotes(noteIds: string[]) {
public static async confirmDeleteNotes(noteIds: string[]) {
if (!noteIds.length) return;
const msg = await Note.deleteMessage(noteIds);