You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error
This commit is contained in:
@ -7,11 +7,11 @@ const smalltalk = require('smalltalk');
|
||||
const logger = Logger.create('dialogs');
|
||||
|
||||
class Dialogs {
|
||||
async alert(message: string, title = '') {
|
||||
public async alert(message: string, title = '') {
|
||||
await smalltalk.alert(title, message);
|
||||
}
|
||||
|
||||
async confirm(message: string, title = '', options: any = {}) {
|
||||
public async confirm(message: string, title = '', options: any = {}) {
|
||||
try {
|
||||
await smalltalk.confirm(title, message, options);
|
||||
return true;
|
||||
@ -21,7 +21,7 @@ class Dialogs {
|
||||
}
|
||||
}
|
||||
|
||||
async prompt(message: string, title = '', defaultValue = '', options: any = null) {
|
||||
public async prompt(message: string, title = '', defaultValue = '', options: any = null) {
|
||||
if (options === null) options = {};
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user