You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-03 23:50:33 +02:00
Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error
This commit is contained in:
@ -71,7 +71,7 @@ export default class JoplinCommands {
|
||||
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
|
||||
* ```
|
||||
*/
|
||||
async execute(commandName: string, ...args: any[]): Promise<any | void> {
|
||||
public async execute(commandName: string, ...args: any[]): Promise<any | void> {
|
||||
return CommandService.instance().execute(commandName, ...args);
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ export default class JoplinCommands {
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
async register(command: Command) {
|
||||
public async register(command: Command) {
|
||||
const declaration: CommandDeclaration = {
|
||||
name: command.name,
|
||||
label: command.label,
|
||||
|
Reference in New Issue
Block a user