You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false
This commit is contained in:
@@ -157,7 +157,7 @@ export default class BaseApplication {
|
||||
|
||||
// Handles the initial flags passed to main script and
|
||||
// returns the remaining args.
|
||||
private async handleStartFlags_(argv: string[], setDefaults: boolean = true) {
|
||||
private async handleStartFlags_(argv: string[], setDefaults = true) {
|
||||
const matched: any = {};
|
||||
argv = argv.slice(0);
|
||||
argv.splice(0, 2); // First arguments are the node executable, and the node JS file
|
||||
@@ -318,7 +318,7 @@ export default class BaseApplication {
|
||||
process.exit(code);
|
||||
}
|
||||
|
||||
public async refreshNotes(state: any, useSelectedNoteId: boolean = false, noteHash: string = '') {
|
||||
public async refreshNotes(state: any, useSelectedNoteId = false, noteHash = '') {
|
||||
let parentType = state.notesParentType;
|
||||
let parentId = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user