You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Tools: Implement @typescript-eslint/no-explicit-any rule
This commit is contained in:
@ -7,6 +7,7 @@ import { Implementation as ImagingImplementation } from './api/JoplinImaging';
|
||||
|
||||
export interface JoplinViewsDialogs {
|
||||
showMessageBox(message: string): Promise<number>;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
showOpenDialog(options: any): Promise<any>;
|
||||
}
|
||||
|
||||
@ -25,10 +26,12 @@ export default class BasePlatformImplementation {
|
||||
throw new Error('Not implemented: versionInfo');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
public get clipboard(): any {
|
||||
throw new Error('Not implemented: clipboard');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
public get nativeImage(): any {
|
||||
throw new Error('Not implemented: nativeImage');
|
||||
}
|
||||
@ -37,6 +40,7 @@ export default class BasePlatformImplementation {
|
||||
throw new Error('Not implemented: window');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
public registerComponent(_name: string, _component: any) {
|
||||
throw new Error('Not implemented: registerComponent');
|
||||
}
|
||||
|
Reference in New Issue
Block a user