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

Chore: Desktop: Fix eslint issues and strengthen types in NoteEditor.tsx (#10449)

This commit is contained in:
Henry Heino
2024-05-20 17:28:19 -07:00
committed by GitHub
parent c632ea5c48
commit 652add9af2
13 changed files with 162 additions and 118 deletions

View File

@ -36,8 +36,7 @@ interface Props {
noteTitle: string;
noteIsTodo: number;
isProvisional: boolean;
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
titleInputRef: any;
titleInputRef: React.RefObject<HTMLInputElement>;
onTitleChange(event: ChangeEvent<HTMLInputElement>): void;
disabled: boolean;
}