You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Chore: Desktop: Use stronger types in Sidebar.tsx
(#10305)
This commit is contained in:
@ -10,10 +10,10 @@ export interface MenuItem {
|
||||
id?: string;
|
||||
label?: string;
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
click?: Function;
|
||||
click?: ()=> void;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
role?: any;
|
||||
type?: string;
|
||||
type?: 'normal'|'separator'|'submenu';
|
||||
accelerator?: string;
|
||||
checked?: boolean;
|
||||
enabled?: boolean;
|
||||
|
Reference in New Issue
Block a user