You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Implement @typescript-eslint/no-explicit-any rule
This commit is contained in:
@ -38,10 +38,12 @@ import { JoplinViewsDialogs as JoplinViewsDialogsImplementation } from '../BaseP
|
||||
*/
|
||||
export default class JoplinViewsDialogs {
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
private store: any;
|
||||
private plugin: Plugin;
|
||||
private implementation_: JoplinViewsDialogsImplementation;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
public constructor(implementation: any, plugin: Plugin, store: any) {
|
||||
this.store = store;
|
||||
this.plugin = plugin;
|
||||
@ -81,6 +83,7 @@ export default class JoplinViewsDialogs {
|
||||
*
|
||||
* <span class="platform-desktop">desktop</span>
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
public async showOpenDialog(options: any): Promise<any> {
|
||||
return this.implementation_.showOpenDialog(options);
|
||||
}
|
||||
|
Reference in New Issue
Block a user