1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +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

@ -143,7 +143,7 @@ export default class Plugin {
return this.viewControllers_[handle];
}
public deprecationNotice(goneInVersion: string, message: string, isError: boolean = false) {
public deprecationNotice(goneInVersion: string, message: string, isError = false) {
if (isError) {
throw new Error(`"${this.id}": No longer supported: ${message} (deprecated since version ${goneInVersion})`);
} else {