1
0
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:
Laurent Cozic
2023-06-30 09:11:26 +01:00
parent 315f071337
commit e89b59be8e
80 changed files with 120 additions and 120 deletions

View File

@@ -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;