mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
chore(client): fix more type errors
This commit is contained in:
@@ -9,6 +9,7 @@ import { t } from "./i18n.js";
|
||||
import type FNote from "../entities/fnote.js";
|
||||
import type FBranch from "../entities/fbranch.js";
|
||||
import type { ChooseNoteTypeResponse } from "../widgets/dialogs/note_type_chooser.js";
|
||||
import type { CKTextEditor } from "@triliumnext/ckeditor5";
|
||||
|
||||
interface CreateNoteOpts {
|
||||
isProtected?: boolean;
|
||||
@@ -22,7 +23,7 @@ interface CreateNoteOpts {
|
||||
focus?: "title" | "content";
|
||||
target?: string;
|
||||
targetBranchId?: string;
|
||||
textEditor?: TextEditor;
|
||||
textEditor?: CKTextEditor;
|
||||
}
|
||||
|
||||
interface Response {
|
||||
|
||||
Reference in New Issue
Block a user