1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Tools: Apply rule @typescript-eslint/ban-types

This commit is contained in:
Laurent Cozic
2023-06-30 10:30:29 +01:00
parent 48ef6db4a5
commit dd6eec6a03
153 changed files with 296 additions and 9 deletions

View File

@ -17,14 +17,18 @@ export interface ContextMenuOptions {
linkToCopy: string;
textToCopy: string;
htmlToCopy: string;
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
insertContent: Function;
isReadOnly?: boolean;
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
fireEditorEvent: Function;
}
export interface ContextMenuItem {
label: string;
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
onAction: Function;
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
isActive: Function;
}